home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-04-07 | 21.8 KB | [TgPj/RBv2] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TgPj] |
macFileCreator | [RBv2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0b 11 00 00 41 41 41 41 | 41 41 41 41 41 41 41 41 |....AAAA|AAAAAAAA|
|00000010| 41 41 41 41 01 04 3f 3f | 3f 3f 41 00 01 01 00 00 |AAAA..??|??A.....|
|00000020| 07 41 70 70 4e 61 6d 65 | 80 80 80 01 80 80 80 01 |.AppName|........|
|00000030| 01 00 00 00 00 0d 56 69 | 64 65 6f 74 65 73 74 20 |......Vi|deotest |
|00000040| 32 2e 30 21 56 69 64 65 | 6f 74 65 73 74 20 62 79 |2.0!Vide|otest by|
|00000050| 20 4d 65 64 69 61 65 76 | 61 6c 20 4d 75 6c 74 69 | Mediaev|al Multi|
|00000060| 6d 65 64 69 61 03 32 2e | 30 02 69 63 6c 38 80 10 |media.2.|0.icl8..|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 64 64 64 64 |........|....dddd|
|00000080| 64 64 64 64 64 64 64 64 | 64 64 00 00 00 00 00 00 |dddddddd|dd......|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 64 64 64 64 64 64 |........|..dddddd|
|000000a0| 64 64 64 64 64 64 64 64 | 64 64 64 64 64 00 00 00 |dddddddd|ddddd...|
|000000b0| 00 00 00 00 00 00 00 00 | 64 64 64 64 64 64 64 64 |........|dddddddd|
|000000c0| 64 64 64 64 00 00 00 64 | 64 64 64 64 64 64 00 00 |dddd...d|dddddd..|
|000000d0| 00 00 00 00 00 00 00 64 | 64 64 64 00 00 00 00 00 |.......d|ddd.....|
|000000e0| 64 64 64 64 00 00 00 00 | 00 00 64 64 64 64 00 00 |dddd....|..dddd..|
|000000f0| 00 00 00 00 00 00 64 64 | 64 64 64 00 00 00 00 00 |......dd|ddd.....|
|00000100| 64 64 64 64 00 00 00 00 | 00 00 64 64 64 64 64 00 |dddd....|..ddddd.|
|00000110| 00 00 00 00 00 00 64 64 | 64 00 00 00 00 00 00 00 |......dd|d.......|
|00000120| 64 64 64 64 00 00 00 00 | 00 00 00 64 64 64 64 00 |dddd....|...dddd.|
|00000130| 00 00 00 00 64 64 64 64 | 64 00 00 00 00 00 00 00 |....dddd|d.......|
|00000140| 64 64 64 64 00 00 00 00 | 00 00 00 64 64 64 64 00 |dddd....|...dddd.|
|00000150| 00 00 00 00 64 64 64 64 | 00 00 00 00 00 00 00 00 |....dddd|........|
|00000160| 64 64 64 64 00 00 00 00 | 00 00 00 64 64 64 64 00 |dddd....|...dddd.|
|00000170| 00 00 64 64 64 64 64 64 | 00 00 00 00 00 00 00 00 |..dddddd|........|
|00000180| 64 64 64 64 00 00 00 00 | 00 00 00 64 64 64 00 00 |dddd....|...ddd..|
|00000190| 00 00 64 64 64 64 64 64 | 00 00 00 00 00 00 00 00 |..dddddd|........|
|000001a0| 64 64 64 64 00 00 00 00 | 00 64 64 64 64 64 00 00 |dddd....|.ddddd..|
|000001b0| 00 00 64 64 64 64 64 64 | 00 00 00 00 00 00 00 00 |..dddddd|........|
|000001c0| 64 64 64 64 00 00 00 00 | 00 64 64 64 64 00 00 00 |dddd....|.dddd...|
|000001d0| 00 64 64 64 64 64 64 00 | 00 00 00 00 00 00 00 00 |.dddddd.|........|
|000001e0| 64 64 64 64 00 00 00 64 | 64 64 64 64 64 00 00 00 |dddd...d|ddddd...|
|000001f0| 00 64 64 64 64 64 64 00 | 00 00 00 00 00 00 00 00 |.dddddd.|........|
|00000200| 64 64 64 64 00 00 00 64 | 64 64 64 64 64 00 00 00 |dddd...d|ddddd...|
|00000210| 00 64 64 64 64 64 64 00 | 00 00 00 00 00 00 00 00 |.dddddd.|........|
|00000220| 64 64 64 64 64 64 64 64 | 64 64 00 00 00 00 00 00 |dddddddd|dd......|
|00000230| 64 64 64 64 64 64 64 00 | 00 00 00 00 00 00 00 00 |ddddddd.|........|
|00000240| 64 64 64 64 64 64 64 64 | 64 64 00 00 00 00 00 00 |dddddddd|dd......|
|00000250| 64 64 64 64 64 64 00 00 | 00 00 00 00 00 00 00 00 |dddddd..|........|
|00000260| 64 64 64 64 64 64 00 00 | 00 00 00 00 00 00 00 00 |dddddd..|........|
|00000270| 64 64 64 64 64 64 00 00 | 00 00 00 00 00 00 00 00 |dddddd..|........|
|00000280| 64 64 64 64 64 64 00 00 | 00 00 00 00 00 00 00 00 |dddddd..|........|
|00000290| 64 64 64 64 64 64 00 00 | 00 00 00 00 00 00 00 00 |dddddd..|........|
|000002a0| 64 64 64 64 00 00 00 00 | 00 00 00 00 00 00 00 00 |dddd....|........|
|000002b0| 64 64 64 64 64 64 00 00 | 00 00 00 00 00 00 00 00 |dddddd..|........|
|000002c0| 64 64 64 64 00 00 00 00 | 00 00 00 00 00 00 00 00 |dddd....|........|
|000002d0| 64 64 64 64 64 64 00 00 | 00 00 00 00 00 00 64 64 |dddddd..|......dd|
|000002e0| 64 64 64 64 00 00 00 00 | 00 00 00 00 00 00 00 00 |dddd....|........|
|000002f0| 00 64 64 64 64 64 00 00 | 00 00 00 00 00 00 64 64 |.ddddd..|......dd|
|00000300| 64 64 64 64 00 00 00 00 | 00 00 00 00 00 00 00 00 |dddd....|........|
|00000310| 00 64 64 64 64 64 00 00 | 00 00 00 00 00 00 00 00 |.ddddd..|........|
|00000320| 64 64 64 64 00 00 00 00 | 00 00 00 00 00 00 00 00 |dddd....|........|
|00000330| 00 64 64 64 64 64 64 00 | 00 00 00 00 00 00 00 00 |.dddddd.|........|
|00000340| 64 64 64 64 00 00 00 00 | 00 00 00 00 00 00 64 64 |dddd....|......dd|
|00000350| 00 64 64 64 64 64 64 00 | 00 00 00 00 00 00 00 00 |.dddddd.|........|
|00000360| 64 64 64 64 00 00 00 00 | 00 00 00 00 00 00 64 64 |dddd....|......dd|
|00000370| 00 00 64 64 64 64 64 64 | 00 00 00 00 00 00 00 00 |..dddddd|........|
|00000380| 64 64 64 64 64 00 00 00 | 00 00 00 00 64 64 64 64 |ddddd...|....dddd|
|00000390| 00 00 64 64 64 64 64 64 | 00 00 00 00 00 00 00 64 |..dddddd|.......d|
|000003a0| 64 64 64 64 64 00 00 00 | 00 00 00 00 64 64 64 64 |ddddd...|....dddd|
|000003b0| 00 00 64 64 64 64 64 64 | 64 00 00 00 00 00 64 64 |..dddddd|d.....dd|
|000003c0| 64 64 64 64 64 00 00 00 | 00 00 00 64 64 64 64 00 |ddddd...|...dddd.|
|000003d0| 00 00 00 64 64 64 64 64 | 64 64 64 64 64 64 64 64 |...ddddd|dddddddd|
|000003e0| 64 64 64 64 64 64 64 64 | 64 64 64 64 64 64 64 00 |dddddddd|ddddddd.|
|000003f0| 00 00 00 00 64 64 64 64 | 64 64 64 64 64 64 64 64 |....dddd|dddddddd|
|00000400| 00 00 64 64 64 64 64 64 | 64 64 64 64 64 00 00 00 |..dddddd|ddddd...|
|00000410| 00 00 00 00 00 64 64 64 | 64 64 64 64 64 64 64 00 |.....ddd|ddddddd.|
|00000420| 00 00 64 64 64 64 64 64 | 64 64 64 64 00 00 00 00 |..dddddd|dddd....|
|00000430| 00 00 00 00 00 00 00 64 | 64 64 64 64 64 64 00 00 |.......d|dddddd..|
|00000440| 00 00 00 00 64 64 64 64 | 64 64 64 64 00 00 00 00 |....dddd|dddd....|
|00000450| 00 00 00 00 00 00 00 00 | 00 64 64 64 64 00 00 00 |........|.dddd...|
|00000460| 00 00 00 00 64 64 64 64 | 64 00 00 00 00 00 00 00 |....dddd|d.......|
|00000470| 49 43 4e 23 80 04 00 0f | ff c0 00 3f ff f8 00 ff |ICN#....|...?....|
|00000480| f1 fc 01 e0 f0 3c 03 e0 | f0 3e 03 80 f0 1e 0f 80 |.....<..|.>......|
|00000490| f0 1e 0f 00 f0 1e 3f 00 | f0 1c 3f 00 f0 7c 3f 00 |......?.|..?..|?.|
|000004a0| f0 78 7e 00 f1 f8 7e 00 | f1 f8 7e 00 ff c0 fe 00 |.x~...~.|..~.....|
|000004b0| ff c0 fc 00 fc 00 fc 00 | fc 00 fc 00 f0 00 fc 00 |........|........|
|000004c0| f0 00 fc 03 f0 00 7c 03 | f0 00 7c 00 f0 00 7e 00 |......|.|..|...~.|
|000004d0| f0 03 7e 00 f0 03 3f 00 | f8 0f 3f 01 f8 0f 3f 83 |..~...?.|..?...?.|
|000004e0| f8 1e 1f ff ff fe 0f ff | 3f f8 07 fe 3f f0 01 fc |........|?...?...|
|000004f0| 0f f0 00 78 0f 80 00 0f | ff c0 00 3f ff f8 00 ff |...x....|...?....|
|00000500| ff fc 01 ff ff fc 03 ff | ff fe 03 ff ff fe 0f ff |........|........|
|00000510| ff fe 0f ff ff fe 3f ff | ff fc 3f ff ff fc 3f ff |......?.|..?...?.|
|00000520| ff f8 7f ff ff f8 7f ff | ff f8 7f ff ff c0 ff ff |........|........|
|00000530| ff c0 ff ff fc 00 ff ff | fc 00 ff ff f0 00 ff ff |........|........|
|00000540| f0 00 ff ff f0 00 7f ff | f0 00 7f ff f0 00 7f ff |........|........|
|00000550| f0 03 7f ff f0 03 3f ff | f8 0f 3f ff f8 0f 3f ff |......?.|..?...?.|
|00000560| f8 1e 1f ff ff fe 0f ff | 3f f8 07 fe 3f f0 01 fc |........|?...?...|
|00000570| 0f f0 00 78 0f 80 03 04 | 50 49 43 54 04 3f 3f 3f |...x....|PICT.???|
|00000580| 3f 04 50 49 43 54 00 00 | 0a 69 6d 61 67 65 2f 6a |?.PICT..|.image/j|
|00000590| 70 65 67 04 3f 3f 3f 3f | 04 4a 46 49 46 00 00 0a |peg.????|.JFIF...|
|000005a0| 69 6d 61 67 65 2f 6a 70 | 65 67 04 3f 3f 3f 3f 04 |image/jp|eg.????.|
|000005b0| 3f 3f 3f 3f 0f 2e 6a 70 | 65 3b 2e 6a 70 65 67 3b |????..jp|e;.jpeg;|
|000005c0| 2e 6a 70 67 00 01 41 04 | 56 69 65 77 08 61 62 6f |.jpg..A.|View.abo|
|000005d0| 75 74 57 69 6e 04 93 02 | a2 02 12 04 4e 61 6d 65 |utWin...|....Name|
|000005e0| 08 61 62 6f 75 74 57 69 | 6e 05 46 72 61 6d 65 01 |.aboutWi|n.Frame.|
|000005f0| 32 0c 48 61 73 42 61 63 | 6b 43 6f 6c 6f 72 05 46 |2.HasBac|kColor.F|
|00000600| 61 6c 73 65 09 42 61 63 | 6b 43 6f 6c 6f 72 08 31 |alse.Bac|kColor.1|
|00000610| 36 37 37 37 32 31 35 08 | 42 61 63 6b 64 72 6f 70 |6777215.|Backdrop|
|00000620| 01 30 05 54 69 74 6c 65 | 08 55 6e 74 69 74 6c 65 |.0.Title|.Untitle|
|00000630| 64 07 56 69 73 69 62 6c | 65 04 54 72 75 65 08 43 |d.Visibl|e.True.C|
|00000640| 6c 6f 73 65 42 6f 78 04 | 54 72 75 65 08 47 72 6f |loseBox.|True.Gro|
|00000650| 77 49 63 6f 6e 05 46 61 | 6c 73 65 08 5a 6f 6f 6d |wIcon.Fa|lse.Zoom|
|00000660| 49 63 6f 6e 05 46 61 6c | 73 65 0b 42 61 6c 6c 6f |Icon.Fal|se.Ballo|
|00000670| 6f 6e 48 65 6c 70 00 09 | 50 6c 61 63 65 6d 65 6e |onHelp..|Placemen|
|00000680| 74 01 30 05 57 69 64 74 | 68 03 32 39 37 06 48 65 |t.0.Widt|h.297.He|
|00000690| 69 67 68 74 03 31 32 32 | 08 4d 69 6e 57 69 64 74 |ight.122|.MinWidt|
|000006a0| 68 02 36 34 09 4d 69 6e | 48 65 69 67 68 74 02 36 |h.64.Min|Height.6|
|000006b0| 34 08 4d 61 78 57 69 64 | 74 68 05 33 32 30 30 30 |4.MaxWid|th.32000|
|000006c0| 09 4d 61 78 48 65 69 67 | 68 74 05 33 32 30 30 30 |.MaxHeig|ht.32000|
|000006d0| 07 00 08 61 62 6f 75 74 | 57 69 6e 94 01 06 44 69 |...about|Win...Di|
|000006e0| 61 6c 6f 67 00 00 00 00 | 03 09 4d 6f 75 73 65 44 |alog....|..MouseD|
|000006f0| 6f 77 6e 01 05 01 05 03 | 39 46 75 6e 63 74 69 6f |own.....|9Functio|
|00000700| 6e 20 4d 6f 75 73 65 44 | 6f 77 6e 28 58 20 41 73 |n MouseD|own(X As|
|00000710| 20 49 6e 74 65 67 65 72 | 2c 20 59 20 41 73 20 49 | Integer|, Y As I|
|00000720| 6e 74 65 67 65 72 29 20 | 41 73 20 42 6f 6f 6c 65 |nteger) |As Boole|
|00000730| 61 6e 05 63 6c 6f 73 65 | 0c 45 6e 64 20 46 75 6e |an.close|.End Fun|
|00000740| 63 74 69 6f 6e 0f 45 6e | 61 62 6c 65 4d 65 6e 75 |ction.En|ableMenu|
|00000750| 49 74 65 6d 73 01 00 01 | 00 03 15 53 75 62 20 45 |Items...|...Sub E|
|00000760| 6e 61 62 6c 65 4d 65 6e | 75 49 74 65 6d 73 28 29 |nableMen|uItems()|
|00000770| 00 07 45 6e 64 20 53 75 | 62 04 4f 70 65 6e 01 00 |..End Su|b.Open..|
|00000780| 01 00 03 0a 53 75 62 20 | 4f 70 65 6e 28 29 00 07 |....Sub |Open()..|
|00000790| 45 6e 64 20 53 75 62 00 | 00 04 07 00 00 ac 01 0a |End Sub.|........|
|000007a0| 53 74 61 74 69 63 54 65 | 78 74 00 00 00 00 00 00 |StaticTe|xt......|
|000007b0| 00 07 00 00 ac 01 0a 53 | 74 61 74 69 63 54 65 78 |.......S|taticTex|
|000007c0| 74 00 00 00 00 01 09 4d | 6f 75 73 65 4d 6f 76 65 |t......M|ouseMove|
|000007d0| 01 00 01 00 03 29 53 75 | 62 20 4d 6f 75 73 65 4d |.....)Su|b MouseM|
|000007e0| 6f 76 65 28 58 20 41 73 | 20 49 6e 74 65 67 65 72 |ove(X As| Integer|
|000007f0| 2c 20 59 20 41 73 20 49 | 6e 74 65 67 65 72 29 00 |, Y As I|nteger).|
|00000800| 07 45 6e 64 20 53 75 62 | 00 00 07 00 00 ac 01 0a |.End Sub|........|
|00000810| 53 74 61 74 69 63 54 65 | 78 74 00 00 00 00 00 00 |StaticTe|xt......|
|00000820| 00 07 00 00 a0 01 05 54 | 69 6d 65 72 00 00 00 00 |.......T|imer....|
|00000830| 01 06 41 63 74 69 6f 6e | 01 05 01 05 03 0c 53 75 |..Action|......Su|
|00000840| 62 20 41 63 74 69 6f 6e | 28 29 05 63 6c 6f 73 65 |b Action|().close|
|00000850| 07 45 6e 64 20 53 75 62 | 00 00 04 0a 53 74 61 74 |.End Sub|....Stat|
|00000860| 69 63 54 65 78 74 17 04 | 4e 61 6d 65 0b 53 74 61 |icText..|Name.Sta|
|00000870| 74 69 63 54 65 78 74 31 | 05 49 6e 64 65 78 0b 2d |ticText1|.Index.-|
|00000880| 32 31 34 37 34 38 33 36 | 34 38 0d 54 61 62 50 61 |21474836|48.TabPa|
|00000890| 6e 65 6c 49 6e 64 65 78 | 01 30 07 56 69 73 69 62 |nelIndex|.0.Visib|
|000008a0| 6c 65 04 54 72 75 65 04 | 4c 65 66 74 02 31 33 03 |le.True.|Left.13.|
|000008b0| 54 6f 70 02 31 33 05 57 | 69 64 74 68 03 32 36 32 |Top.13.W|idth.262|
|000008c0| 06 48 65 69 67 68 74 02 | 32 32 0b 42 61 6c 6c 6f |.Height.|22.Ballo|
|000008d0| 6f 6e 48 65 6c 70 00 13 | 44 69 73 61 62 6c 65 64 |onHelp..|Disabled|
|000008e0| 42 61 6c 6c 6f 6f 6e 48 | 65 6c 70 00 08 4c 6f 63 |BalloonH|elp..Loc|
|000008f0| 6b 4c 65 66 74 05 46 61 | 6c 73 65 07 4c 6f 63 6b |kLeft.Fa|lse.Lock|
|00000900| 54 6f 70 05 46 61 6c 73 | 65 09 4c 6f 63 6b 52 69 |Top.Fals|e.LockRi|
|00000910| 67 68 74 05 46 61 6c 73 | 65 0a 4c 6f 63 6b 42 6f |ght.Fals|e.LockBo|
|00000920| 74 74 6f 6d 05 46 61 6c | 73 65 08 54 65 78 74 46 |ttom.Fal|se.TextF|
|00000930| 6f 6e 74 06 53 79 73 74 | 65 6d 08 54 65 78 74 53 |ont.Syst|em.TextS|
|00000940| 69 7a 65 02 31 32 04 42 | 6f 6c 64 05 46 61 6c 73 |ize.12.B|old.Fals|
|00000950| 65 06 49 74 61 6c 69 63 | 05 46 61 6c 73 65 09 55 |e.Italic|.False.U|
|00000960| 6e 64 65 72 6c 69 6e 65 | 05 46 61 6c 73 65 04 54 |nderline|.False.T|
|00000970| 65 78 74 21 41 20 53 69 | 6d 70 6c 65 20 50 69 63 |ext!A Si|mple Pic|
|00000980| 74 20 76 69 65 77 65 72 | 20 41 70 70 6c 69 63 61 |t viewer| Applica|
|00000990| 74 69 6f 6e 2e 09 54 65 | 78 74 41 6c 69 67 6e 01 |tion..Te|xtAlign.|
|000009a0| 30 09 54 65 78 74 43 6f | 6c 6f 72 01 30 09 4d 75 |0.TextCo|lor.0.Mu|
|000009b0| 6c 74 69 4c 69 6e 65 04 | 54 72 75 65 00 0a 53 74 |ltiLine.|True..St|
|000009c0| 61 74 69 63 54 65 78 74 | 17 04 4e 61 6d 65 0b 53 |aticText|..Name.S|
|000009d0| 74 61 74 69 63 54 65 78 | 74 32 05 49 6e 64 65 78 |taticTex|t2.Index|
|000009e0| 0b 2d 32 31 34 37 34 38 | 33 36 34 38 0d 54 61 62 |.-214748|3648.Tab|
|000009f0| 50 61 6e 65 6c 49 6e 64 | 65 78 01 30 07 56 69 73 |PanelInd|ex.0.Vis|
|00000a00| 69 62 6c 65 04 54 72 75 | 65 04 4c 65 66 74 02 31 |ible.Tru|e.Left.1|
|00000a10| 33 03 54 6f 70 02 34 36 | 05 57 69 64 74 68 03 31 |3.Top.46|.Width.1|
|00000a20| 31 30 06 48 65 69 67 68 | 74 02 31 38 0b 42 61 6c |10.Heigh|t.18.Bal|
|00000a30| 6c 6f 6f 6e 48 65 6c 70 | 00 13 44 69 73 61 62 6c |loonHelp|..Disabl|
|00000a40| 65 64 42 61 6c 6c 6f 6f | 6e 48 65 6c 70 00 08 4c |edBalloo|nHelp..L|
|00000a50| 6f 63 6b 4c 65 66 74 05 | 46 61 6c 73 65 07 4c 6f |ockLeft.|False.Lo|
|00000a60| 63 6b 54 6f 70 05 46 61 | 6c 73 65 09 4c 6f 63 6b |ckTop.Fa|lse.Lock|
|00000a70| 52 69 67 68 74 05 46 61 | 6c 73 65 0a 4c 6f 63 6b |Right.Fa|lse.Lock|
|00000a80| 42 6f 74 74 6f 6d 05 46 | 61 6c 73 65 08 54 65 78 |Bottom.F|alse.Tex|
|00000a90| 74 46 6f 6e 74 06 53 79 | 73 74 65 6d 08 54 65 78 |tFont.Sy|stem.Tex|
|00000aa0| 74 53 69 7a 65 02 31 32 | 04 42 6f 6c 64 05 46 61 |tSize.12|.Bold.Fa|
|00000ab0| 6c 73 65 06 49 74 61 6c | 69 63 05 46 61 6c 73 65 |lse.Ital|ic.False|
|00000ac0| 09 55 6e 64 65 72 6c 69 | 6e 65 05 46 61 6c 73 65 |.Underli|ne.False|
|00000ad0| 04 54 65 78 74 0d a9 20 | 4d 61 72 6b 20 48 61 67 |.Text.. |Mark Hag|
|00000ae0| 65 72 73 09 54 65 78 74 | 41 6c 69 67 6e 01 30 09 |ers.Text|Align.0.|
|00000af0| 54 65 78 74 43 6f 6c 6f | 72 01 30 09 4d 75 6c 74 |TextColo|r.0.Mult|
|00000b00| 69 4c 69 6e 65 05 46 61 | 6c 73 65 01 0a 53 74 61 |iLine.Fa|lse..Sta|
|00000b10| 74 69 63 54 65 78 74 17 | 04 4e 61 6d 65 0b 53 74 |ticText.|.Name.St|
|00000b20| 61 74 69 63 54 65 78 74 | 33 05 49 6e 64 65 78 0b |aticText|3.Index.|
|00000b30| 2d 32 31 34 37 34 38 33 | 36 34 38 0d 54 61 62 50 |-2147483|648.TabP|
|00000b40| 61 6e 65 6c 49 6e 64 65 | 78 01 30 07 56 69 73 69 |anelInde|x.0.Visi|
|00000b50| 62 6c 65 04 54 72 75 65 | 04 4c 65 66 74 02 31 33 |ble.True|.Left.13|
|00000b60| 03 54 6f 70 02 37 36 05 | 57 69 64 74 68 03 31 39 |.Top.76.|Width.19|
|00000b70| 39 06 48 65 69 67 68 74 | 02 31 37 0b 42 61 6c 6c |9.Height|.17.Ball|
|00000b80| 6f 6f 6e 48 65 6c 70 00 | 13 44 69 73 61 62 6c 65 |oonHelp.|.Disable|
|00000b90| 64 42 61 6c 6c 6f 6f 6e | 48 65 6c 70 00 08 4c 6f |dBalloon|Help..Lo|
|00000ba0| 63 6b 4c 65 66 74 05 46 | 61 6c 73 65 07 4c 6f 63 |ckLeft.F|alse.Loc|
|00000bb0| 6b 54 6f 70 05 46 61 6c | 73 65 09 4c 6f 63 6b 52 |kTop.Fal|se.LockR|
|00000bc0| 69 67 68 74 05 46 61 6c | 73 65 0a 4c 6f 63 6b 42 |ight.Fal|se.LockB|
|00000bd0| 6f 74 74 6f 6d 05 46 61 | 6c 73 65 08 54 65 78 74 |ottom.Fa|lse.Text|
|00000be0| 46 6f 6e 74 06 67 65 6e | 65 76 61 08 54 65 78 74 |Font.gen|eva.Text|
|00000bf0| 53 69 7a 65 01 39 04 42 | 6f 6c 64 05 46 61 6c 73 |Size.9.B|old.Fals|
|00000c00| 65 06 49 74 61 6c 69 63 | 05 46 61 6c 73 65 09 55 |e.Italic|.False.U|
|00000c10| 6e 64 65 72 6c 69 6e 65 | 05 46 61 6c 73 65 04 54 |nderline|.False.T|
|00000c20| 65 78 74 14 6d 68 61 67 | 65 72 73 40 6d 65 64 69 |ext.mhag|ers@medi|
|00000c30| 61 65 76 61 6c 2e 6e 6c | 09 54 65 78 74 41 6c 69 |aeval.nl|.TextAli|
|00000c40| 67 6e 01 30 09 54 65 78 | 74 43 6f 6c 6f 72 01 30 |gn.0.Tex|tColor.0|
|00000c50| 09 4d 75 6c 74 69 4c 69 | 6e 65 05 46 61 6c 73 65 |.MultiLi|ne.False|
|00000c60| 02 05 54 69 6d 65 72 06 | 04 4e 61 6d 65 06 54 69 |..Timer.|.Name.Ti|
|00000c70| 6d 65 72 31 05 49 6e 64 | 65 78 0b 2d 32 31 34 37 |mer1.Ind|ex.-2147|
|00000c80| 34 38 33 36 34 38 04 4c | 65 66 74 03 32 34 33 03 |483648.L|eft.243.|
|00000c90| 54 6f 70 02 36 31 04 4d | 6f 64 65 01 31 06 50 65 |Top.61.M|ode.1.Pe|
|00000ca0| 72 69 6f 64 04 33 30 30 | 30 03 00 0f 41 04 4d 65 |riod.300|0...A.Me|
|00000cb0| 6e 75 04 4d 65 6e 75 05 | a4 01 a4 01 96 08 97 06 |nu.Menu.|........|
|00000cc0| 05 01 00 00 80 80 80 80 | 10 00 00 00 00 00 07 00 |........|........|
|00000cd0| 00 38 08 4d 65 6e 75 49 | 74 65 6d 00 00 00 00 00 |.8.MenuI|tem.....|
|00000ce0| 00 00 02 00 10 41 62 6f | 75 74 20 53 69 6d 70 6c |.....Abo|ut Simpl|
|00000cf0| 65 50 69 63 74 05 61 62 | 6f 75 74 80 80 80 80 10 |ePict.ab|out.....|
|00000d00| 00 00 00 00 00 07 00 00 | 38 08 4d 65 6e 75 49 74 |........|8.MenuIt|
|00000d10| 65 6d 00 00 00 00 00 00 | 00 00 02 00 00 80 80 80 |em......|........|
|00000d20| 80 10 00 00 00 00 00 07 | 00 00 38 08 4d 65 6e 75 |........|..8.Menu|
|00000d30| 49 74 65 6d 00 00 00 00 | 00 00 00 00 00 04 46 69 |Item....|......Fi|
|00000d40| 6c 65 00 80 80 80 80 10 | 00 00 00 00 00 07 00 00 |le......|........|
|00000d50| 38 08 4d 65 6e 75 49 74 | 65 6d 00 00 00 00 00 00 |8.MenuIt|em......|
|00000d60| 00 09 00 0c 4f 70 65 6e | 20 46 69 6c 65 2e 2e 2e |....Open| File...|
|00000d70| 08 6f 70 65 6e 49 74 65 | 6d 80 80 80 80 10 01 4f |.openIte|m......O|
|00000d80| 00 00 00 00 07 00 00 38 | 08 4d 65 6e 75 49 74 65 |.......8|.MenuIte|
|00000d90| 6d 00 00 00 00 00 00 00 | 00 00 05 43 6c 6f 73 65 |m.......|...Close|
|00000da0| 09 63 6c 6f 73 65 49 74 | 65 6d 80 80 80 80 10 01 |.closeIt|em......|
|00000db0| 57 00 00 00 00 07 00 00 | 38 08 4d 65 6e 75 49 74 |W.......|8.MenuIt|
|00000dc0| 65 6d 00 00 00 00 00 00 | 00 00 00 09 43 6c 6f 73 |em......|....Clos|
|00000dd0| 65 20 41 6c 6c 08 63 6c | 6f 73 65 41 6c 6c 80 80 |e All.cl|oseAll..|
|00000de0| 80 80 10 01 b7 00 00 00 | 00 07 00 00 38 08 4d 65 |........|....8.Me|
|00000df0| 6e 75 49 74 65 6d 00 00 | 00 00 00 00 00 00 00 01 |nuItem..|........|
|00000e00| 2d 00 80 80 80 80 10 00 | 00 00 00 00 07 00 00 38 |-.......|.......8|
|00000e10| 08 4d 65 6e 75 49 74 65 | 6d 00 00 00 00 00 00 00 |.MenuIte|m.......|
|00000e20| 00 00 0d 50 61 67 65 20 | 53 65 74 75 70 2e 2e 2e |...Page |Setup...|
|00000e30| 09 73 65 74 75 70 49 74 | 65 6d 80 80 80 80 10 00 |.setupIt|em......|
|00000e40| 00 00 00 00 07 00 00 38 | 08 4d 65 6e 75 49 74 65 |.......8|.MenuIte|
|00000e50| 6d 00 00 00 00 00 00 00 | 00 00 08 50 72 69 6e 74 |m.......|...Print|
|00000e60| 2e 2e 2e 09 70 72 69 6e | 74 49 74 65 6d 80 80 80 |....prin|tItem...|
|00000e70| 80 10 01 50 00 00 00 00 | 07 00 00 38 08 4d 65 6e |...P....|...8.Men|
|00000e80| 75 49 74 65 6d 00 00 00 | 00 00 00 00 00 00 01 2d |uItem...|.......-|
|00000e90| 00 80 80 80 80 10 00 00 | 00 00 00 07 00 00 38 08 |........|......8.|
|00000ea0| 4d 65 6e 75 49 74 65 6d | 00 00 00 00 00 00 00 00 |MenuItem|........|
|00000eb0| 00 04 51 75 69 74 08 46 | 69 6c 65 51 75 69 74 80 |..Quit.F|ileQuit.|
|00000ec0| 80 80 80 10 01 51 00 00 | 00 00 07 00 00 38 0c 51 |.....Q..|.....8.Q|
|00000ed0| 75 69 74 4d 65 6e 75 49 | 74 65 6d 00 00 00 00 00 |uitMenuI|tem.....|
|00000ee0| 00 00 00 02 00 00 80 80 | 80 80 10 00 00 00 00 00 |........|........|
|00000ef0| 07 00 00 38 08 4d 65 6e | 75 49 74 65 6d 00 00 00 |...8.Men|uItem...|
|00000f00| 00 00 00 00 00 00 04 45 | 64 69 74 00 80 80 80 80 |.......E|dit.....|
|00000f10| 10 00 00 00 00 00 07 00 | 00 38 08 4d 65 6e 75 49 |........|.8.MenuI|
|00000f20| 74 65 6d 00 00 00 00 00 | 00 00 07 00 04 55 6e 64 |tem.....|.....Und|
|00000f30| 6f 08 45 64 69 74 55 6e | 64 6f 80 80 80 80 10 01 |o.EditUn|do......|
|00000f40| 5a 00 00 00 00 07 00 00 | 38 08 4d 65 6e 75 49 74 |Z.......|8.MenuIt|
|00000f50| 65 6d 00 00 00 00 00 00 | 00 00 00 01 2d 00 80 80 |em......|....-...|
|00000f60| 80 80 10 00 00 00 00 00 | 07 00 00 38 08 4d 65 6e |........|...8.Men|
|00000f70| 75 49 74 65 6d 00 00 00 | 00 00 00 00 00 00 03 43 |uItem...|.......C|
|00000f80| 75 74 07 45 64 69 74 43 | 75 74 80 80 80 80 10 01 |ut.EditC|ut......|
|00000f90| 58 00 00 00 00 07 00 00 | 38 08 4d 65 6e 75 49 74 |X.......|8.MenuIt|
|00000fa0| 65 6d 00 00 00 00 00 00 | 00 00 00 04 43 6f 70 79 |em......|....Copy|
|00000fb0| 08 45 64 69 74 43 6f 70 | 79 80 80 80 80 10 01 43 |.EditCop|y......C|
|00000fc0| 00 00 00 00 07 00 00 38 | 08 4d 65 6e 75 49 74 65 |.......8|.MenuIte|
|00000fd0| 6d 00 00 00 00 00 00 00 | 00 00 05 50 61 73 74 65 |m.......|...Paste|
|00000fe0| 09 45 64 69 74 50 61 73 | 74 65 80 80 80 80 10 01 |.EditPas|te......|
|00000ff0| 56 00 00 00 00 07 00 00 | 38 08 4d 65 6e 75 49 74 |V.......|8.MenuIt|
|00001000| 65 6d 00 00 00 00 00 00 | 00 00 00 05 43 6c 65 61 |em......|....Clea|
|00001010| 72 09 45 64 69 74 43 6c | 65 61 72 80 80 80 80 10 |r.EditCl|ear.....|
|00001020| 00 00 00 00 00 07 00 00 | 38 08 4d 65 6e 75 49 74 |........|8.MenuIt|
|00001030| 65 6d 00 00 00 00 00 00 | 00 00 02 00 00 80 80 80 |em......|........|
|00001040| 80 10 00 00 00 00 00 07 | 00 00 38 08 4d 65 6e 75 |........|..8.Menu|
|00001050| 49 74 65 6d 00 00 00 00 | 00 00 00 00 00 04 5a 6f |Item....|......Zo|
|00001060| 6f 6d 08 7a 6f 6f 6d 4d | 65 6e 75 80 80 80 80 10 |om.zoomM|enu.....|
|00001070| 00 00 00 00 00 07 00 00 | 38 08 4d 65 6e 75 49 74 |........|8.MenuIt|
|00001080| 65 6d 00 00 00 00 00 00 | 00 05 00 07 5a 6f 6f 6d |em......|....Zoom|
|00001090| 20 69 6e 0a 7a 6f 6f 6d | 49 6e 49 74 65 6d 80 80 | in.zoom|InItem..|
|000010a0| 80 80 10 01 3d 00 00 00 | 00 07 00 00 38 08 4d 65 |....=...|....8.Me|
|000010b0| 6e 75 49 74 65 6d 00 00 | 00 00 00 00 00 00 00 08 |nuItem..|........|
|000010c0| 5a 6f 6f 6d 20 6f 75 74 | 0b 7a 6f 6f 6d 4f 75 74 |Zoom out|.zoomOut|
|000010d0| 49 74 65 6d 80 80 80 80 | 10 01 2d 00 00 00 00 07 |Item....|..-.....|
|000010e0| 00 00 38 08 4d 65 6e 75 | 49 74 65 6d 00 00 00 00 |..8.Menu|Item....|
|000010f0| 00 00 00 00 00 01 2d 00 | 80 80 80 80 10 00 00 00 |......-.|........|
|00001100| 00 00 07 00 00 38 08 4d | 65 6e 75 49 74 65 6d 00 |.....8.M|enuItem.|
|00001110| 00 00 00 00 00 00 00 00 | 04 5a 6f 6f 6d 08 7a 6f |........|.Zoom.zo|
|00001120| 6f 6d 4d 65 6e 75 80 80 | 80 80 10 00 00 00 00 01 |omMenu..|........|
|00001130| 07 00 00 38 08 4d 65 6e | 75 49 74 65 6d 00 00 00 |...8.Men|uItem...|
|00001140| 00 00 00 00 06 00 04 32 | 35 20 25 03 7a 32 35 80 |.......2|5 %.z25.|
|00001150| 80 80 80 10 01 24 00 00 | 00 00 07 00 00 38 08 4d |.....$..|.....8.M|
|00001160| 65 6e 75 49 74 65 6d 00 | 00 00 00 00 00 00 00 00 |enuItem.|........|
|00001170| 04 35 30 20 25 03 7a 35 | 30 80 80 80 80 10 01 40 |.50 %.z5|0......@|
|00001180| 00 00 00 00 07 00 00 38 | 08 4d 65 6e 75 49 74 65 |.......8|.MenuIte|
|00001190| 6d 00 00 00 00 00 00 00 | 00 00 05 31 30 30 20 25 |m.......|...100 %|
|000011a0| 04 7a 31 30 30 80 80 80 | 80 10 01 31 00 00 00 00 |.z100...|...1....|
|000011b0| 07 00 00 38 08 4d 65 6e | 75 49 74 65 6d 00 00 00 |...8.Men|uItem...|
|000011c0| 00 00 00 00 00 00 05 32 | 30 30 20 25 04 7a 32 30 |.......2|00 %.z20|
|000011d0| 30 80 80 80 80 10 01 32 | 00 00 00 00 07 00 00 38 |0......2|.......8|
|000011e0| 08 4d 65 6e 75 49 74 65 | 6d 00 00 00 00 00 00 00 |.MenuIte|m.......|
|000011f0| 00 00 05 34 30 30 20 25 | 04 7a 34 30 30 80 80 80 |...400 %|.z400...|
|00001200| 80 10 01 34 00 00 00 00 | 07 00 00 38 08 4d 65 6e |...4....|...8.Men|
|00001210| 75 49 74 65 6d 00 00 00 | 00 00 00 00 00 02 00 00 |uItem...|........|
|00001220| 80 80 80 80 10 00 00 00 | 00 00 07 00 00 38 08 4d |........|.....8.M|
|00001230| 65 6e 75 49 74 65 6d 00 | 00 00 00 00 00 00 00 02 |enuItem.|........|
|00001240| 00 00 80 80 80 80 10 00 | 00 00 00 00 07 00 00 38 |........|.......8|
|00001250| 08 4d 65 6e 75 49 74 65 | 6d 00 00 00 00 00 00 00 |.MenuIte|m.......|
|00001260| 00 02 00 00 80 80 80 80 | 10 00 00 00 00 00 07 00 |........|........|
|00001270| 00 38 08 4d 65 6e 75 49 | 74 65 6d 00 00 00 00 00 |.8.MenuI|tem.....|
|00001280| 00 00 00 06 41 05 43 6c | 61 73 73 05 6d 79 41 70 |....A.Cl|ass.myAp|
|00001290| 70 87 02 9e 03 b6 0b 9a | 08 07 00 05 6d 79 41 70 |p.......|....myAp|
|000012a0| 70 14 0b 41 70 70 6c 69 | 63 61 74 69 6f 6e 00 00 |p..Appli|cation..|
|000012b0| 00 00 05 05 43 6c 6f 73 | 65 01 00 01 00 03 0b 53 |....Clos|e......S|
|000012c0| 75 62 20 43 6c 6f 73 65 | 28 29 00 07 45 6e 64 20 |ub Close|()..End |
|000012d0| 53 75 62 04 4f 70 65 6e | 01 00 01 00 03 0a 53 75 |Sub.Open|......Su|
|000012e0| 62 20 4f 70 65 6e 28 29 | 00 07 45 6e 64 20 53 75 |b Open()|..End Su|
|000012f0| 62 0b 4e 65 77 44 6f 63 | 75 6d 65 6e 74 01 00 01 |b.NewDoc|ument...|
|00001300| 00 03 11 53 75 62 20 4e | 65 77 44 6f 63 75 6d 65 |...Sub N|ewDocume|
|00001310| 6e 74 28 29 00 07 45 6e | 64 20 53 75 62 0c 4f 70 |nt()..En|d Sub.Op|
|00001320| 65 6e 44 6f 63 75 6d 65 | 6e 74 09 33 09 33 15 24 |enDocume|nt.3.3.$|
|00001330| 53 75 62 20 4f 70 65 6e | 44 6f 63 75 6d 65 6e 74 |Sub Open|Document|
|00001340| 28 69 74 65 6d 20 41 73 | 20 46 6f 6c 64 65 72 49 |(item As| FolderI|
|00001350| 74 65 6d 29 00 3c 27 20 | 69 66 20 61 20 70 69 63 |tem).<' |if a pic|
|00001360| 74 20 66 69 6c 65 20 69 | 73 20 64 72 6f 70 70 65 |t file i|s droppe|
|00001370| 64 20 6f 6e 20 74 68 65 | 20 61 70 70 6c 69 63 61 |d on the| applica|
|00001380| 74 69 6f 6e 20 49 63 6f | 6e 2c 20 6f 70 65 6e 20 |tion Ico|n, open |
|00001390| 69 74 00 0f 44 69 6d 20 | 77 20 61 73 20 76 69 65 |it..Dim |w as vie|
|000013a0| 77 65 72 00 1a 27 20 6f | 70 65 6e 20 61 20 6e 65 |wer..' o|pen a ne|
|000013b0| 77 20 76 69 65 77 65 72 | 20 77 69 6e 64 6f 77 0e |w viewer| window.|
|000013c0| 77 20 3d 20 6e 65 77 20 | 56 69 65 77 65 72 00 3d |w = new |Viewer.=|
|000013d0| 27 20 63 61 6c 6c 20 74 | 68 65 20 77 69 6e 64 6f |' call t|he windo|
|000013e0| 77 73 20 6c 6f 61 64 50 | 69 63 74 20 4d 65 74 68 |ws loadP|ict Meth|
|000013f0| 6f 64 20 77 69 74 68 20 | 49 74 65 6d 20 61 73 20 |od with |Item as |
|00001400| 74 68 65 20 70 61 72 61 | 6d 65 74 65 72 83 01 27 |the para|meter..'|
|00001410| 20 74 68 65 20 77 69 6e | 64 6f 77 73 20 6c 6f 61 | the win|dows loa|
|00001420| 64 50 69 63 74 20 4d 65 | 74 68 6f 64 20 77 69 6c |dPict Me|thod wil|
|00001430| 6c 20 6e 6f 74 20 62 72 | 69 6e 67 20 75 70 20 61 |l not br|ing up a|
|00001440| 6e 20 4f 70 65 6e 20 46 | 69 6c 65 20 64 69 61 6c |n Open F|ile dial|
|00001450| 6f 67 18 69 66 20 77 2e | 6c 6f 61 64 50 69 63 74 |og.if w.|loadPict|
|00001460| 28 69 74 65 6d 29 20 74 | 68 65 6e 3e 27 20 69 66 |(item) t|hen>' if|
|00001470| 20 6c 6f 61 64 50 69 63 | 74 20 72 65 74 75 72 6e | loadPic|t return|
|00001480| 73 20 74 72 75 65 2c 20 | 6f 70 65 6e 69 6e 67 20 |s true, |opening |
|00001490| 74 68 65 20 70 69 63 74 | 75 72 65 20 77 61 73 20 |the pict|ure was |
|000014a0| 73 75 63 63 65 73 73 66 | 75 6c 1c 27 20 73 6f 20 |successf|ul.' so |
|000014b0| 6d 61 6b 65 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |make the| window |
|000014c0| 76 69 73 69 62 6c 65 06 | 77 2e 73 68 6f 77 04 65 |visible.|w.show.e|
|000014d0| 6c 73 65 21 27 20 6f 74 | 68 65 72 77 69 73 65 20 |lse!' ot|herwise |
|000014e0| 6a 75 73 74 20 63 6c 6f | 73 65 20 74 68 65 20 77 |just clo|se the w|
|000014f0| 69 6e 64 6f 77 07 77 2e | 63 6c 6f 73 65 06 65 6e |indow.w.|close.en|
|00001500| 64 20 69 66 00 07 45 6e | 64 20 53 75 62 0f 45 6e |d if..En|d Sub.En|
|00001510| 61 62 6c 65 4d 65 6e 75 | 49 74 65 6d 73 08 00 08 |ableMenu|Items...|
|00001520| 00 0a 15 53 75 62 20 45 | 6e 61 62 6c 65 4d 65 6e |...Sub E|nableMen|
|00001530| 75 49 74 65 6d 73 28 29 | 00 82 01 27 20 65 6e 61 |uItems()|...' ena|
|00001540| 62 6c 65 20 6d 65 6e 75 | 20 49 74 65 6d 73 20 74 |ble menu| Items t|
|00001550| 68 61 74 20 73 68 6f 75 | 6c 64 20 62 65 20 61 63 |hat shou|ld be ac|
|00001560| 74 69 76 65 20 77 68 65 | 6e 20 6e 6f 20 77 69 6e |tive whe|n no win|
|00001570| 64 6f 77 73 20 61 72 65 | 20 6f 70 65 6e 17 6f 70 |dows are| open.op|
|00001580| 65 6e 49 74 65 6d 2e 65 | 6e 61 62 6c 65 64 20 3d |enItem.e|nabled =|
|00001590| 20 74 72 75 65 14 61 62 | 6f 75 74 2e 65 6e 61 62 | true.ab|out.enab|
|000015a0| 6c 65 64 20 3d 20 74 72 | 75 65 17 69 66 20 77 69 |led = tr|ue.if wi|
|000015b0| 6e 64 6f 77 43 6f 75 6e | 74 20 3e 20 30 20 74 68 |ndowCoun|t > 0 th|
|000015c0| 65 6e 17 63 6c 6f 73 65 | 41 6c 6c 2e 65 6e 61 62 |en.close|All.enab|
|000015d0| 6c 65 64 20 3d 20 74 72 | 75 65 06 65 6e 64 20 69 |led = tr|ue.end i|
|000015e0| 66 00 07 45 6e 64 20 53 | 75 62 03 08 6f 70 65 6e |f..End S|ub..open|
|000015f0| 49 74 65 6d 04 00 07 00 | 11 1a 46 75 6e 63 74 69 |Item....|..Functi|
|00001600| 6f 6e 20 41 63 74 69 6f | 6e 20 41 73 20 42 6f 6f |on Actio|n As Boo|
|00001610| 6c 65 61 6e 0f 44 69 6d | 20 77 20 61 73 20 76 69 |lean.Dim| w as vi|
|00001620| 65 77 65 72 00 0e 77 20 | 3d 20 6e 65 77 20 56 69 |ewer..w |= new Vi|
|00001630| 65 77 65 72 1f 27 20 6a | 75 73 74 20 6f 70 65 6e |ewer.' j|ust open|
|00001640| 20 61 20 6e 65 77 20 76 | 69 65 77 65 72 20 77 69 | a new v|iewer wi|
|00001650| 6e 64 6f 77 30 27 20 63 | 61 6c 6c 20 69 74 27 73 |ndow0' c|all it's|
|00001660| 20 6c 6f 61 64 50 69 63 | 74 20 4d 65 74 68 6f 64 | loadPic|t Method|
|00001670| 20 77 69 74 68 20 61 20 | 4e 49 4c 20 70 61 72 61 | with a |NIL para|
|00001680| 6d 65 74 65 72 3f 27 20 | 74 68 65 20 77 69 6e 64 |meter?' |the wind|
|00001690| 6f 77 73 20 6c 6f 61 64 | 50 69 63 74 20 4d 65 74 |ows load|Pict Met|
|000016a0| 68 6f 64 20 77 69 6c 6c | 20 62 72 69 6e 67 20 75 |hod will| bring u|
|000016b0| 70 20 61 6e 20 4f 70 65 | 6e 20 46 69 6c 65 20 64 |p an Ope|n File d|
|000016c0| 69 61 6c 6f 67 17 69 66 | 20 77 2e 6c 6f 61 64 50 |ialog.if| w.loadP|
|000016d0| 69 63 74 28 4e 49 4c 29 | 20 74 68 65 6e 3e 27 20 |ict(NIL)| then>' |
|000016e0| 69 66 20 6c 6f 61 64 50 | 69 63 74 20 72 65 74 75 |if loadP|ict retu|
|000016f0| 72 6e 73 20 74 72 75 65 | 2c 20 6f 70 65 6e 69 6e |rns true|, openin|
|00001700| 67 20 74 68 65 20 70 69 | 63 74 75 72 65 20 77 61 |g the pi|cture wa|
|00001710| 73 20 73 75 63 63 65 73 | 73 66 75 6c 1c 27 20 73 |s succes|sful.' s|
|00001720| 6f 20 6d 61 6b 65 20 74 | 68 65 20 77 69 6e 64 6f |o make t|he windo|
|00001730| 77 20 76 69 73 69 62 6c | 65 06 77 2e 73 68 6f 77 |w visibl|e.w.show|
|00001740| 04 65 6c 73 65 21 27 20 | 6f 74 68 65 72 77 69 73 |.else!' |otherwis|
|00001750| 65 20 6a 75 73 74 20 63 | 6c 6f 73 65 20 74 68 65 |e just c|lose the|
|00001760| 20 77 69 6e 64 6f 77 07 | 77 2e 63 6c 6f 73 65 06 | window.|w.close.|
|00001770| 65 6e 64 20 69 66 00 0c | 45 6e 64 20 46 75 6e 63 |end if..|End Func|
|00001780| 74 69 6f 6e 08 63 6c 6f | 73 65 41 6c 6c 03 18 03 |tion.clo|seAll...|
|00001790| 18 09 1a 46 75 6e 63 74 | 69 6f 6e 20 41 63 74 69 |...Funct|ion Acti|
|000017a0| 6f 6e 20 41 73 20 42 6f | 6f 6c 65 61 6e 10 44 69 |on As Bo|olean.Di|
|000017b0| 6d 20 69 20 61 73 20 69 | 6e 74 65 67 65 72 00 18 |m i as i|nteger..|
|000017c0| 27 20 63 6c 6f 73 65 20 | 61 6c 6c 20 6f 70 65 6e |' close |all open|
|000017d0| 20 77 69 6e 64 6f 77 73 | 15 77 68 69 6c 65 20 77 | windows|.while w|
|000017e0| 69 6e 64 6f 77 43 6f 75 | 6e 74 20 3e 20 30 0f 77 |indowCou|nt > 0.w|
|000017f0| 69 6e 64 6f 77 28 30 29 | 2e 63 6c 6f 73 65 04 77 |indow(0)|.close.w|
|00001800| 65 6e 64 00 0c 45 6e 64 | 20 46 75 6e 63 74 69 6f |end..End| Functio|
|00001810| 6e 05 61 62 6f 75 74 07 | 00 07 00 09 1a 46 75 6e |n.about.|.....Fun|
|00001820| 63 74 69 6f 6e 20 41 63 | 74 69 6f 6e 20 41 73 20 |ction Ac|tion As |
|00001830| 42 6f 6f 6c 65 61 6e 00 | 1a 27 20 64 69 73 70 6c |Boolean.|.' displ|
|00001840| 61 79 20 74 68 65 20 61 | 62 6f 75 74 20 77 69 6e |ay the a|bout win|
|00001850| 64 6f 77 00 11 44 69 6d | 20 77 20 61 73 20 61 62 |dow..Dim| w as ab|
|00001860| 6f 75 74 57 69 6e 10 77 | 20 3d 20 6e 65 77 20 61 |outWin.w| = new a|
|00001870| 62 6f 75 74 57 69 6e 0b | 77 2e 73 68 6f 77 4d 6f |boutWin.|w.showMo|
|00001880| 64 61 6c 00 0c 45 6e 64 | 20 46 75 6e 63 74 69 6f |dal..End| Functio|
|00001890| 6e 00 00 0b 41 04 56 69 | 65 77 06 56 69 65 77 65 |n...A.Vi|ew.Viewe|
|000018a0| 72 04 90 06 9b 02 12 04 | 4e 61 6d 65 06 56 69 65 |r.......|Name.Vie|
|000018b0| 77 65 72 05 46 72 61 6d | 65 01 30 0c 48 61 73 42 |wer.Fram|e.0.HasB|
|000018c0| 61 63 6b 43 6f 6c 6f 72 | 05 46 61 6c 73 65 09 42 |ackColor|.False.B|
|000018d0| 61 63 6b 43 6f 6c 6f 72 | 08 31 36 37 37 37 32 31 |ackColor|.1677721|
|000018e0| 35 08 42 61 63 6b 64 72 | 6f 70 01 30 05 54 69 74 |5.Backdr|op.0.Tit|
|000018f0| 6c 65 08 55 6e 74 69 74 | 6c 65 64 07 56 69 73 69 |le.Untit|led.Visi|
|00001900| 62 6c 65 04 54 72 75 65 | 08 43 6c 6f 73 65 42 6f |ble.True|.CloseBo|
|00001910| 78 04 54 72 75 65 08 47 | 72 6f 77 49 63 6f 6e 04 |x.True.G|rowIcon.|
|00001920| 54 72 75 65 08 5a 6f 6f | 6d 49 63 6f 6e 04 54 72 |True.Zoo|mIcon.Tr|
|00001930| 75 65 0b 42 61 6c 6c 6f | 6f 6e 48 65 6c 70 00 09 |ue.Ballo|onHelp..|
|00001940| 50 6c 61 63 65 6d 65 6e | 74 01 30 05 57 69 64 74 |Placemen|t.0.Widt|
|00001950| 68 03 34 38 33 06 48 65 | 69 67 68 74 03 34 34 37 |h.483.He|ight.447|
|00001960| 08 4d 69 6e 57 69 64 74 | 68 03 31 32 38 09 4d 69 |.MinWidt|h.128.Mi|
|00001970| 6e 48 65 69 67 68 74 03 | 31 32 38 08 4d 61 78 57 |nHeight.|128.MaxW|
|00001980| 69 64 74 68 05 33 32 30 | 30 30 09 4d 61 78 48 65 |idth.320|00.MaxHe|
|00001990| 69 67 68 74 05 33 32 30 | 30 30 07 00 06 56 69 65 |ight.320|00...Vie|
|000019a0| 77 65 72 ac 01 06 44 69 | 61 6c 6f 67 00 06 14 6d |wer...Di|alog...m|
|000019b0| 79 46 69 6c 65 20 61 73 | 20 66 6f 6c 64 65 72 49 |yFile as| folderI|
|000019c0| 74 65 6d 01 14 6d 79 50 | 69 63 74 75 72 65 20 61 |tem..myP|icture a|
|000019d0| 73 20 70 69 63 74 75 72 | 65 01 15 7a 6f 6f 6d 50 |s pictur|e..zoomP|
|000019e0| 65 72 63 65 6e 74 20 61 | 73 20 73 69 6e 67 6c 65 |ercent a|s single|
|000019f0| 01 14 7a 6f 6f 6d 46 61 | 63 74 6f 72 20 61 73 20 |..zoomFa|ctor as |
|00001a00| 73 69 6e 67 6c 65 01 13 | 64 6f 55 70 64 61 74 65 |single..|doUpdate|
|00001a10| 20 61 73 20 62 6f 6f 6c | 65 61 6e 01 13 73 69 7a | as bool|ean..siz|
|00001a20| 65 73 28 31 36 29 20 61 | 73 20 73 69 6e 67 6c 65 |es(16) a|s single|
|00001a30| 00 05 08 6c 6f 61 64 50 | 69 63 74 0f 66 20 61 73 |...loadP|ict.f as|
|00001a40| 20 66 6f 6c 64 65 72 49 | 74 65 6d 07 42 6f 6f 6c | folderI|tem.Bool|
|00001a50| 65 61 6e 00 07 21 07 21 | 1d 2d 46 75 6e 63 74 69 |ean..!.!|.-Functi|
|00001a60| 6f 6e 20 6c 6f 61 64 50 | 69 63 74 28 66 20 61 73 |on loadP|ict(f as|
|00001a70| 20 66 6f 6c 64 65 72 49 | 74 65 6d 29 20 41 73 20 | folderI|tem) As |
|00001a80| 42 6f 6f 6c 65 61 6e 00 | 35 27 20 74 68 69 73 20 |Boolean.|5' this |
|00001a90| 66 75 6e 63 74 69 6f 6e | 20 68 61 6e 64 6c 65 73 |function| handles|
|00001aa0| 20 6f 70 65 6e 69 6e 67 | 20 74 68 65 20 70 69 63 | opening| the pic|
|00001ab0| 74 75 72 65 20 66 72 6f | 6d 20 66 69 6c 65 00 30 |ture fro|m file.0|
|00001ac0| 27 20 69 66 20 6e 6f 20 | 70 69 63 74 75 72 65 20 |' if no |picture |
|00001ad0| 77 61 73 20 73 70 65 63 | 69 66 69 65 64 20 69 6e |was spec|ified in|
|00001ae0| 20 74 68 65 20 70 61 72 | 61 6d 65 74 65 72 20 66 | the par|ameter f|
|00001af0| 20 27 20 61 73 6b 20 74 | 68 65 20 75 73 65 72 20 | ' ask t|he user |
|00001b00| 74 6f 20 6f 70 65 6e 20 | 61 20 70 69 63 74 75 72 |to open |a pictur|
|00001b10| 65 0f 69 66 20 66 20 3d | 20 4e 49 4c 20 74 68 65 |e.if f =| NIL the|
|00001b20| 6e 2d 6d 79 46 69 6c 65 | 20 3d 20 67 65 74 4f 70 |n-myFile| = getOp|
|00001b30| 65 6e 46 6f 6c 64 65 72 | 49 74 65 6d 28 22 50 49 |enFolder|Item("PI|
|00001b40| 43 54 3b 69 6d 61 67 65 | 2f 4a 50 65 67 22 29 04 |CT;image|/JPeg").|
|00001b50| 65 6c 73 65 0a 6d 79 46 | 69 6c 65 20 3d 20 66 06 |else.myF|ile = f.|
|00001b60| 65 6e 64 20 69 66 00 2c | 27 20 6e 6f 77 20 74 72 |end if.,|' now tr|
|00001b70| 79 20 74 6f 20 6f 70 65 | 6e 20 74 68 65 20 70 69 |y to ope|n the pi|
|00001b80| 63 74 75 72 65 2c 20 69 | 66 20 74 68 61 74 20 66 |cture, i|f that f|
|00001b90| 61 69 6c 73 30 27 20 77 | 65 20 6a 75 6d 70 20 74 |ails0' w|e jump t|
|00001ba0| 6f 20 74 68 65 20 65 78 | 63 65 70 74 69 6f 6e 20 |o the ex|ception |
|00001bb0| 68 61 6e 64 6c 65 72 20 | 61 74 20 74 68 65 20 62 |handler |at the b|
|00001bc0| 6f 74 74 6f 6d 20 6d 79 | 50 69 63 74 75 72 65 20 |ottom my|Picture |
|00001bd0| 3d 20 6d 79 46 69 6c 65 | 2e 6f 70 65 6e 41 73 50 |= myFile|.openAsP|
|00001be0| 69 63 74 75 72 65 3a 27 | 20 73 69 6e 63 65 20 77 |icture:'| since w|
|00001bf0| 65 20 67 6f 74 20 74 68 | 72 6f 75 67 68 20 74 6f |e got th|rough to|
|00001c00| 20 68 65 72 65 2c 20 74 | 68 65 20 70 69 63 74 75 | here, t|he pictu|
|00001c10| 72 65 20 6d 75 73 74 20 | 62 65 20 6c 6f 61 64 65 |re must |be loade|
|00001c20| 64 84 01 27 20 73 65 74 | 20 74 68 65 20 7a 6f 6f |d..' set| the zoo|
|00001c30| 6d 20 66 61 63 74 6f 72 | 20 61 6e 64 20 6f 74 68 |m factor| and oth|
|00001c40| 65 72 20 73 74 75 66 66 | 2c 20 74 68 65 20 77 69 |er stuff|, the wi|
|00001c50| 6e 64 6f 77 20 69 73 20 | 73 74 69 6c 6c 20 69 6e |ndow is |still in|
|00001c60| 76 69 73 69 62 6c 65 0b | 73 65 74 5a 6f 6f 6d 20 |visible.|setZoom |
|00001c70| 31 30 30 00 3c 27 20 72 | 65 74 75 72 6e 20 74 72 |100.<' r|eturn tr|
|00001c80| 75 65 20 74 6f 20 69 6e | 64 69 63 61 74 65 20 74 |ue to in|dicate t|
|00001c90| 6f 20 74 68 65 20 63 61 | 6c 6c 69 6e 67 20 73 75 |o the ca|lling su|
|00001ca0| 62 20 74 68 61 74 20 61 | 6c 6c 27 73 20 77 65 6c |b that a|ll's wel|
|00001cb0| 6c 28 27 20 74 68 65 20 | 63 61 6c 6c 69 6e 67 20 |l(' the |calling |
|00001cc0| 73 75 62 20 68 61 73 20 | 74 6f 20 73 68 6f 77 20 |sub has |to show |
|00001cd0| 74 68 65 20 77 69 6e 64 | 6f 77 0b 72 65 74 75 72 |the wind|ow.retur|
|00001ce0| 6e 20 74 72 75 65 00 23 | 65 78 63 65 70 74 69 6f |n true.#|exceptio|
|00001cf0| 6e 20 65 72 72 20 61 73 | 20 6e 69 6c 6f 62 6a 65 |n err as| nilobje|
|00001d00| 63 74 65 78 63 65 70 74 | 69 6f 6e 0c 72 65 74 75 |ctexcept|ion.retu|
|00001d10| 72 6e 20 66 61 6c 73 65 | 37 27 20 73 6f 6d 65 74 |rn false|7' somet|
|00001d20| 68 69 6e 67 20 77 65 6e | 74 20 77 72 6f 6e 67 2c |hing wen|t wrong,|
|00001d30| 20 73 6f 20 61 6c 6c 27 | 73 20 6e 6f 74 20 77 65 | so all'|s not we|
|00001d40| 6c 6c 2c 20 72 65 74 75 | 72 6e 20 66 61 6c 73 65 |ll, retu|rn false|
|00001d50| 29 27 20 74 68 65 20 63 | 61 6c 6c 69 6e 67 20 73 |)' the c|alling s|
|00001d60| 75 62 20 68 61 73 20 74 | 6f 20 63 6c 6f 73 65 20 |ub has t|o close |
|00001d70| 74 68 65 20 77 69 6e 64 | 6f 77 00 0c 45 6e 64 20 |the wind|ow..End |
|00001d80| 46 75 6e 63 74 69 6f 6e | 0d 73 65 74 53 63 72 6f |Function|.setScro|
|00001d90| 6c 6c 53 69 7a 65 00 00 | 01 1b 00 1b 00 1d 13 53 |llSize..|.......S|
|00001da0| 75 62 20 73 65 74 53 63 | 72 6f 6c 6c 53 69 7a 65 |ub setSc|rollSize|
|00001db0| 28 29 00 22 27 20 74 68 | 69 73 20 73 75 62 20 61 |()."' th|is sub a|
|00001dc0| 64 6a 75 73 74 73 20 73 | 63 72 6f 6c 6c 20 62 61 |djusts s|croll ba|
|00001dd0| 72 73 20 65 74 63 00 29 | 27 20 69 66 20 74 68 65 |rs etc.)|' if the|
|00001de0| 20 70 69 63 74 75 72 65 | 20 69 73 20 77 69 64 65 | picture| is wide|
|00001df0| 72 20 74 68 61 6e 20 74 | 68 65 20 77 69 6e 64 6f |r than t|he windo|
|00001e00| 77 38 27 20 73 65 74 20 | 74 68 65 20 76 61 6c 75 |w8' set |the valu|
|00001e10| 65 73 20 66 6f 72 20 74 | 68 65 20 68 6f 72 69 7a |es for t|he horiz|
|00001e20| 6f 6e 74 61 6c 20 73 63 | 72 6f 6c 6c 62 61 72 20 |ontal sc|rollbar |
|00001e30| 70 72 6f 70 65 72 74 69 | 65 73 36 69 66 20 6d 79 |properti|es6if my|
|00001e40| 50 69 63 74 75 72 65 2e | 77 69 64 74 68 20 2a 20 |Picture.|width * |
|00001e50| 7a 6f 6f 6d 66 61 63 74 | 6f 72 20 3e 20 64 72 61 |zoomfact|or > dra|
|00001e60| 77 42 6f 61 72 64 2e 77 | 69 64 74 68 20 74 68 65 |wBoard.w|idth the|
|00001e70| 6e 80 01 68 53 63 72 6f | 6c 6c 2e 6d 61 78 69 6d |n..hScro|ll.maxim|
|00001e80| 75 6d 20 3d 20 6d 79 50 | 69 63 74 75 72 65 2e 77 |um = myP|icture.w|
|00001e90| 69 64 74 68 20 2a 20 7a | 6f 6f 6d 66 61 63 74 6f |idth * z|oomfacto|
|00001ea0| 72 20 2d 20 64 72 61 77 | 42 6f 61 72 64 2e 77 69 |r - draw|Board.wi|
|00001eb0| 64 74 68 3d 68 53 63 72 | 6f 6c 6c 2e 70 61 67 65 |dth=hScr|oll.page|
|00001ec0| 53 74 65 70 20 3d 20 6d | 69 6e 28 68 53 63 72 6f |Step = m|in(hScro|
|00001ed0| 6c 6c 2e 6d 61 78 69 6d | 75 6d 2c 20 64 72 61 77 |ll.maxim|um, draw|
|00001ee0| 42 6f 61 72 64 2e 77 69 | 64 74 68 20 2d 20 31 36 |Board.wi|dth - 16|
|00001ef0| 29 16 68 53 63 72 6f 6c | 6c 2e 65 6e 61 62 6c 65 |).hScrol|l.enable|
|00001f00| 64 20 3d 20 74 72 75 65 | 04 65 6c 73 65 17 68 53 |d = true|.else.hS|
|00001f10| 63 72 6f 6c 6c 2e 65 6e | 61 62 6c 65 64 20 3d 20 |croll.en|abled = |
|00001f20| 66 61 6c 73 65 11 68 53 | 63 72 6f 6c 6c 2e 76 61 |false.hS|croll.va|
|00001f30| 6c 75 65 20 3d 20 30 06 | 65 6e 64 20 69 66 00 33 |lue = 0.|end if.3|
|00001f40| 27 20 64 69 74 74 6f 20 | 66 6f 72 20 61 20 70 69 |' ditto |for a pi|
|00001f50| 63 74 75 72 65 20 74 68 | 61 74 27 73 20 68 69 67 |cture th|at's hig|
|00001f60| 68 65 72 20 74 68 61 6e | 20 74 68 65 20 77 69 6e |her than| the win|
|00001f70| 64 6f 77 38 69 66 20 6d | 79 50 69 63 74 75 72 65 |dow8if m|yPicture|
|00001f80| 2e 68 65 69 67 68 74 20 | 2a 20 7a 6f 6f 6d 66 61 |.height |* zoomfa|
|00001f90| 63 74 6f 72 20 3e 20 64 | 72 61 77 42 6f 61 72 64 |ctor > d|rawBoard|
|00001fa0| 2e 68 65 69 67 68 74 20 | 74 68 65 6e 83 01 76 53 |.height |then..vS|
|00001fb0| 63 72 6f 6c 6c 2e 6d 61 | 78 69 6d 75 6d 20 3d 20 |croll.ma|ximum = |
|00001fc0| 6d 79 50 69 63 74 75 72 | 65 2e 68 65 69 67 68 74 |myPictur|e.height|
|00001fd0| 20 2a 20 7a 6f 6f 6d 66 | 61 63 74 6f 72 20 2d 20 | * zoomf|actor - |
|00001fe0| 64 72 61 77 42 6f 61 72 | 64 2e 68 65 69 67 68 74 |drawBoar|d.height|
|00001ff0| 20 3e 76 53 63 72 6f 6c | 6c 2e 70 61 67 65 53 74 | >vScrol|l.pageSt|
|00002000| 65 70 20 3d 20 6d 69 6e | 28 76 53 63 72 6f 6c 6c |ep = min|(vScroll|
|00002010| 2e 6d 61 78 69 6d 75 6d | 2c 20 64 72 61 77 42 6f |.maximum|, drawBo|
|00002020| 61 72 64 2e 68 65 69 67 | 68 74 20 2d 20 31 36 29 |ard.heig|ht - 16)|
|00002030| 16 76 53 63 72 6f 6c 6c | 2e 65 6e 61 62 6c 65 64 |.vScroll|.enabled|
|00002040| 20 3d 20 74 72 75 65 04 | 65 6c 73 65 17 76 53 63 | = true.|else.vSc|
|00002050| 72 6f 6c 6c 2e 65 6e 61 | 62 6c 65 64 20 3d 20 66 |roll.ena|bled = f|
|00002060| 61 6c 73 65 11 76 53 63 | 72 6f 6c 6c 2e 76 61 6c |alse.vSc|roll.val|
|00002070| 75 65 20 3d 20 30 06 65 | 6e 64 20 69 66 00 2d 27 |ue = 0.e|nd if.-'|
|00002080| 20 64 69 73 70 6c 61 79 | 20 74 68 65 20 7a 6f 6f | display| the zoo|
|00002090| 6d 20 66 61 63 74 6f 72 | 20 69 6e 20 74 68 65 20 |m factor| in the |
|000020a0| 77 69 6e 64 6f 77 20 74 | 69 74 6c 65 34 74 69 74 |window t|itle4tit|
|000020b0| 6c 65 20 3d 20 6d 79 46 | 69 6c 65 2e 6e 61 6d 65 |le = myF|ile.name|
|000020c0| 20 2b 20 22 20 28 22 20 | 2b 20 73 74 72 28 7a 6f | + " (" |+ str(zo|
|000020d0| 6f 6d 50 65 72 63 65 6e | 74 29 20 2b 20 22 25 29 |omPercen|t) + "%)|
|000020e0| 22 00 07 45 6e 64 20 53 | 75 62 07 73 65 74 5a 6f |"..End S|ub.setZo|
|000020f0| 6f 6d 11 6e 65 77 5a 6f | 6f 6d 20 61 73 20 73 69 |om.newZo|om as si|
|00002100| 6e 67 6c 65 00 01 16 00 | 16 00 2c 1e 53 75 62 20 |ngle....|..,.Sub |
|00002110| 73 65 74 5a 6f 6f 6d 28 | 6e 65 77 5a 6f 6f 6d 20 |setZoom(|newZoom |
|00002120| 61 73 20 73 69 6e 67 6c | 65 29 18 44 69 6d 20 74 |as singl|e).Dim t|
|00002130| 65 6d 70 57 69 64 74 68 | 20 61 73 20 69 6e 74 65 |empWidth| as inte|
|00002140| 67 65 72 19 44 69 6d 20 | 74 65 6d 70 48 65 69 67 |ger.Dim |tempHeig|
|00002150| 68 74 20 61 73 20 69 6e | 74 65 67 65 72 00 10 44 |ht as in|teger..D|
|00002160| 69 6d 20 69 20 61 73 20 | 69 6e 74 65 67 65 72 17 |im i as |integer.|
|00002170| 44 69 6d 20 6f 6c 64 57 | 69 64 74 68 20 61 73 20 |Dim oldW|idth as |
|00002180| 69 6e 74 65 67 65 72 18 | 44 69 6d 20 6f 6c 64 48 |integer.|Dim oldH|
|00002190| 65 69 67 68 74 20 61 73 | 20 69 6e 74 65 67 65 72 |eight as| integer|
|000021a0| 00 28 27 20 74 68 69 73 | 20 53 75 62 20 68 61 6e |.(' this| Sub han|
|000021b0| 64 6c 65 73 20 73 65 74 | 74 69 6e 67 20 74 68 65 |dles set|ting the|
|000021c0| 20 7a 6f 6f 6d 66 63 74 | 6f 72 00 1e 7a 6f 6f 6d | zoomfct|or..zoom|
|000021d0| 50 65 72 63 65 6e 74 20 | 3d 20 67 65 74 5a 6f 6f |Percent |= getZoo|
|000021e0| 6d 28 6e 65 77 5a 6f 6f | 6d 29 1e 7a 6f 6f 6d 46 |m(newZoo|m).zoomF|
|000021f0| 61 63 74 6f 72 20 3d 20 | 7a 6f 6f 6d 50 65 72 63 |actor = |zoomPerc|
|00002200| 65 6e 74 20 2f 20 31 30 | 30 00 00 2f 27 20 69 66 |ent / 10|0../' if|
|00002210| 20 74 68 65 20 70 69 63 | 74 75 72 65 20 69 73 20 | the pic|ture is |
|00002220| 62 69 67 67 65 72 20 74 | 68 61 6e 20 74 68 65 20 |bigger t|han the |
|00002230| 6d 61 69 6e 20 73 63 72 | 65 65 6e 20 27 20 6d 6f |main scr|een ' mo|
|00002240| 76 65 20 74 68 65 20 77 | 69 6e 64 6f 77 20 74 6f |ve the w|indow to|
|00002250| 20 74 68 65 20 74 6f 70 | 6c 65 66 74 3b 69 66 20 | the top|left;if |
|00002260| 6d 79 50 69 63 74 75 72 | 65 2e 77 69 64 74 68 20 |myPictur|e.width |
|00002270| 2a 20 7a 6f 6f 6d 66 61 | 63 74 6f 72 20 3e 20 73 |* zoomfa|ctor > s|
|00002280| 63 72 65 65 6e 28 30 29 | 2e 77 69 64 74 68 20 2d |creen(0)|.width -|
|00002290| 20 32 35 20 74 68 65 6e | 08 6c 65 66 74 20 3d 20 | 25 then|.left = |
|000022a0| 39 06 65 6e 64 20 69 66 | 3d 69 66 20 6d 79 50 69 |9.end if|=if myPi|
|000022b0| 63 74 75 72 65 2e 68 65 | 69 67 68 74 20 2a 20 7a |cture.he|ight * z|
|000022c0| 6f 6f 6d 66 61 63 74 6f | 72 20 3e 20 73 63 72 65 |oomfacto|r > scre|
|000022d0| 65 6e 28 30 29 2e 68 65 | 69 67 68 74 20 2d 20 35 |en(0).he|ight - 5|
|000022e0| 35 20 74 68 65 6e 08 74 | 6f 70 20 3d 20 34 35 06 |5 then.t|op = 45.|
|000022f0| 65 6e 64 20 69 66 00 1c | 27 20 73 77 69 74 63 68 |end if..|' switch|
|00002300| 20 6f 66 66 20 77 69 6e | 64 6f 77 20 75 70 64 61 | off win|dow upda|
|00002310| 74 69 6e 67 10 64 6f 55 | 70 64 61 74 65 20 3d 20 |ting.doU|pdate = |
|00002320| 66 61 6c 73 65 1f 27 20 | 72 65 73 69 7a 65 20 74 |false.' |resize t|
|00002330| 68 65 20 77 69 6e 64 6f | 77 20 69 66 20 70 6f 73 |he windo|w if pos|
|00002340| 73 69 62 6c 65 10 6f 6c | 64 57 69 64 74 68 20 3d |sible.ol|dWidth =|
|00002350| 20 77 69 64 74 68 12 6f | 6c 64 48 65 69 67 68 74 | width.o|ldHeight|
|00002360| 20 3d 20 68 65 69 67 68 | 74 8f 01 77 69 64 74 68 | = heigh|t..width|
|00002370| 20 3d 20 6d 61 78 28 31 | 32 38 2c 20 6d 69 6e 28 | = max(1|28, min(|
|00002380| 6d 79 50 69 63 74 75 72 | 65 2e 77 69 64 74 68 20 |myPictur|e.width |
|00002390| 2a 20 7a 6f 6f 6d 46 61 | 63 74 6f 72 2c 20 73 63 |* zoomFa|ctor, sc|
|000023a0| 72 65 65 6e 28 30 29 2e | 20 77 69 64 74 68 20 2d |reen(0).| width -|
|000023b0| 20 33 31 29 20 2b 20 31 | 35 29 92 01 68 65 69 67 | 31) + 1|5)..heig|
|000023c0| 68 74 20 3d 20 6d 61 78 | 28 31 32 38 2c 20 6d 69 |ht = max|(128, mi|
|000023d0| 6e 28 6d 79 50 69 63 74 | 75 72 65 2e 68 65 69 67 |n(myPict|ure.heig|
|000023e0| 68 74 20 2a 20 7a 6f 6f | 6d 46 61 63 74 6f 72 2c |ht * zoo|mFactor,|
|000023f0| 20 73 63 72 65 65 6e 28 | 30 29 2e 20 68 65 69 67 | screen(|0). heig|
|00002400| 68 74 20 2d 20 37 30 29 | 20 2b 20 31 35 29 00 18 |ht - 70)| + 15)..|
|00002410| 27 20 61 64 6a 75 73 74 | 20 73 63 72 6f 6c 6c 20 |' adjust| scroll |
|00002420| 62 61 72 73 20 65 74 63 | 0d 73 65 74 53 63 72 6f |bars etc|.setScro|
|00002430| 6c 6c 53 69 7a 65 20 27 | 20 73 77 69 74 63 68 20 |llSize '| switch |
|00002440| 77 69 6e 64 6f 77 20 75 | 70 64 61 74 69 6e 67 20 |window u|pdating |
|00002450| 62 61 63 6b 20 6f 6e 0f | 64 6f 55 70 64 61 74 65 |back on.|doUpdate|
|00002460| 20 3d 20 74 72 75 65 00 | 22 27 20 69 66 20 74 68 | = true.|"' if th|
|00002470| 65 20 77 69 6e 64 6f 77 | 20 73 69 7a 65 20 64 69 |e window| size di|
|00002480| 64 6e 27 74 20 63 68 61 | 6e 67 65 29 27 20 74 68 |dn't cha|nge)' th|
|00002490| 65 20 77 69 6e 64 6f 77 | 20 77 61 73 6e 27 74 20 |e window| wasn't |
|000024a0| 75 70 64 61 74 65 64 20 | 61 75 74 6f 6d 61 74 69 |updated |automati|
|000024b0| 63 61 6c 6c 79 14 27 20 | 73 6f 20 66 6f 72 63 65 |cally.' |so force|
|000024c0| 20 61 6e 20 75 70 64 61 | 74 65 2f 69 66 20 6f 6c | an upda|te/if ol|
|000024d0| 64 57 69 64 74 68 20 3d | 20 77 69 64 74 68 20 61 |dWidth =| width a|
|000024e0| 6e 64 20 6f 6c 64 48 65 | 69 67 68 74 20 3d 20 68 |nd oldHe|ight = h|
|000024f0| 65 69 67 68 74 20 74 68 | 65 6e 21 64 72 61 77 50 |eight th|en!drawP|
|00002500| 69 63 74 75 72 65 20 64 | 72 61 77 42 6f 61 72 64 |icture d|rawBoard|
|00002510| 2e 67 72 61 70 68 69 63 | 73 2c 20 30 06 65 6e 64 |.graphic|s, 0.end|
|00002520| 20 69 66 00 07 45 6e 64 | 20 53 75 62 0b 64 72 61 | if..End| Sub.dra|
|00002530| 77 50 69 63 74 75 72 65 | 23 67 20 61 73 20 67 72 |wPicture|#g as gr|
|00002540| 61 70 68 69 63 73 2c 20 | 64 69 72 65 63 74 69 6f |aphics, |directio|
|00002550| 6e 20 61 73 20 69 6e 74 | 65 67 65 72 00 01 11 01 |n as int|eger....|
|00002560| 11 01 83 01 34 53 75 62 | 20 64 72 61 77 50 69 63 |....4Sub| drawPic|
|00002570| 74 75 72 65 28 67 20 61 | 73 20 67 72 61 70 68 69 |ture(g a|s graphi|
|00002580| 63 73 2c 20 64 69 72 65 | 63 74 69 6f 6e 20 61 73 |cs, dire|ction as|
|00002590| 20 69 6e 74 65 67 65 72 | 29 00 34 27 20 74 68 69 | integer|).4' thi|
|000025a0| 73 20 73 75 62 20 68 61 | 6e 64 6c 65 73 20 64 72 |s sub ha|ndles dr|
|000025b0| 61 77 69 6e 67 20 74 68 | 65 20 70 69 63 74 75 72 |awing th|e pictur|
|000025c0| 65 20 74 6f 20 74 68 65 | 20 63 61 6e 76 61 73 21 |e to the| canvas!|
|000025d0| 27 20 69 74 20 69 73 20 | 63 61 6c 6c 65 64 20 66 |' it is |called f|
|000025e0| 72 6f 6d 20 74 77 6f 20 | 72 6f 75 74 69 6e 65 73 |rom two |routines|
|000025f0| 3a 80 01 27 20 74 68 65 | 20 63 61 6e 76 61 73 20 |:..' the| canvas |
|00002600| 70 61 69 6e 74 20 65 76 | 65 6e 74 20 61 6e 64 20 |paint ev|ent and |
|00002610| 74 68 65 20 73 63 72 6f | 6c 6c 62 61 72 27 73 20 |the scro|llbar's |
|00002620| 76 61 6c 75 65 63 68 61 | 6e 67 65 64 20 65 76 65 |valuecha|nged eve|
|00002630| 6e 74 73 00 1a 44 69 6d | 20 6d 79 44 65 73 74 57 |nts..Dim| myDestW|
|00002640| 69 64 74 68 20 61 73 20 | 69 6e 74 65 67 65 72 1b |idth as |integer.|
|00002650| 44 69 6d 20 6d 79 44 65 | 73 74 48 65 69 67 68 74 |Dim myDe|stHeight|
|00002660| 20 61 73 20 69 6e 74 65 | 67 65 72 19 44 69 6d 20 | as inte|ger.Dim |
|00002670| 6d 79 53 72 63 57 69 64 | 74 68 20 61 73 20 69 6e |mySrcWid|th as in|
|00002680| 74 65 67 65 72 1a 44 69 | 6d 20 6d 79 53 72 63 48 |teger.Di|m mySrcH|
|00002690| 65 69 67 68 74 20 61 73 | 20 69 6e 74 65 67 65 72 |eight as| integer|
|000026a0| 16 44 69 6d 20 6d 79 44 | 65 73 74 58 20 61 73 20 |.Dim myD|estX as |
|000026b0| 69 6e 74 65 67 65 72 16 | 44 69 6d 20 6d 79 44 65 |integer.|Dim myDe|
|000026c0| 73 74 59 20 61 73 20 69 | 6e 74 65 67 65 72 15 44 |stY as i|nteger.D|
|000026d0| 69 6d 20 6d 79 53 72 63 | 58 20 61 73 20 69 6e 74 |im mySrc|X as int|
|000026e0| 65 67 65 72 15 44 69 6d | 20 6d 79 53 72 63 59 20 |eger.Dim| mySrcY |
|000026f0| 61 73 20 69 6e 74 65 67 | 65 72 1c 44 69 6d 20 72 |as integ|er.Dim r|
|00002700| 65 66 72 65 73 68 43 61 | 6e 76 61 73 20 61 73 20 |efreshCa|nvas as |
|00002710| 62 6f 6f 6c 65 61 6e 00 | 2b 27 20 77 65 20 6f 6e |boolean.|+' we on|
|00002720| 6c 79 20 74 72 79 20 74 | 6f 20 64 72 61 77 20 69 |ly try t|o draw i|
|00002730| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 70 69 63 |f there |is a pic|
|00002740| 74 75 72 65 25 69 66 20 | 6d 79 50 69 63 74 75 72 |ture%if |myPictur|
|00002750| 65 20 3c 3e 20 4e 49 4c | 20 61 6e 64 20 64 6f 55 |e <> NIL| and doU|
|00002760| 70 64 61 74 65 20 74 68 | 65 6e 00 25 27 20 73 65 |pdate th|en.%' se|
|00002770| 74 20 74 68 69 73 20 76 | 61 72 20 74 6f 20 66 61 |t this v|ar to fa|
|00002780| 6c 73 65 20 61 74 20 74 | 68 65 20 73 74 61 72 74 |lse at t|he start|
|00002790| 20 15 72 65 66 72 65 73 | 68 43 61 6e 76 61 73 20 | .refres|hCanvas |
|000027a0| 3d 20 66 61 6c 73 65 00 | 86 01 27 20 64 65 74 65 |= false.|..' dete|
|000027b0| 72 6d 69 6e 65 20 74 68 | 65 20 63 6f 6f 72 64 69 |rmine th|e coordi|
|000027c0| 6e 61 74 65 73 20 6f 66 | 20 74 68 65 20 73 6f 75 |nates of| the sou|
|000027d0| 72 63 65 20 70 69 63 74 | 75 72 65 20 61 6e 64 20 |rce pict|ure and |
|000027e0| 74 68 65 20 64 65 73 74 | 69 6e 61 74 69 6f 6e 20 |the dest|ination |
|000027f0| 22 27 20 66 69 72 73 74 | 20 74 68 65 20 68 6f 72 |"' first| the hor|
|00002800| 69 7a 6f 6e 74 61 6c 20 | 63 6f 6f 72 64 69 6e 61 |izontal |coordina|
|00002810| 74 65 73 38 69 66 20 28 | 6d 79 50 69 63 74 75 72 |tes8if (|myPictur|
|00002820| 65 2e 77 69 64 74 68 20 | 2a 20 7a 6f 6f 6d 66 61 |e.width |* zoomfa|
|00002830| 63 74 6f 72 29 20 3c 20 | 64 72 61 77 42 6f 61 72 |ctor) < |drawBoar|
|00002840| 64 2e 77 69 64 74 68 20 | 74 68 65 6e 82 01 27 20 |d.width |then..' |
|00002850| 69 66 20 74 68 65 20 70 | 69 63 20 61 74 20 74 68 |if the p|ic at th|
|00002860| 65 20 63 75 72 72 65 6e | 74 20 7a 6f 6f 6d 66 61 |e curren|t zoomfa|
|00002870| 63 74 6f 72 20 69 73 20 | 6e 61 72 72 6f 77 65 72 |ctor is |narrower|
|00002880| 20 74 68 61 6e 20 74 68 | 65 20 77 69 6e 64 6f 77 | than th|e window|
|00002890| 26 27 20 74 68 65 20 70 | 69 63 74 75 72 65 20 69 |&' the p|icture i|
|000028a0| 73 20 63 65 6e 74 65 72 | 65 64 20 68 6f 72 69 7a |s center|ed horiz|
|000028b0| 6f 6e 74 61 6c 6c 79 2a | 6d 79 44 65 73 74 57 69 |ontally*|myDestWi|
|000028c0| 64 74 68 20 3d 20 6d 79 | 50 69 63 74 75 72 65 2e |dth = my|Picture.|
|000028d0| 77 69 64 74 68 20 2a 20 | 7a 6f 6f 6d 46 61 63 74 |width * |zoomFact|
|000028e0| 6f 72 1d 6d 79 53 72 63 | 57 69 64 74 68 20 3d 20 |or.mySrc|Width = |
|000028f0| 6d 79 50 69 63 74 75 72 | 65 2e 77 69 64 74 68 20 |myPictur|e.width |
|00002900| 80 01 6d 79 44 65 73 74 | 58 20 3d 20 28 64 72 61 |..myDest|X = (dra|
|00002910| 77 42 6f 61 72 64 2e 77 | 69 64 74 68 20 2d 20 28 |wBoard.w|idth - (|
|00002920| 6d 79 50 69 63 74 75 72 | 65 2e 77 69 64 74 68 20 |myPictur|e.width |
|00002930| 2a 20 7a 6f 6f 6d 46 61 | 63 74 6f 72 29 29 20 2f |* zoomFa|ctor)) /|
|00002940| 20 32 0a 6d 79 53 72 63 | 58 20 3d 20 30 1f 72 65 | 2.mySrc|X = 0.re|
|00002950| 66 72 65 73 68 43 61 6e | 76 61 73 20 3d 20 28 64 |freshCan|vas = (d|
|00002960| 69 72 65 63 74 69 6f 6e | 20 3c 3e 31 29 98 01 27 |irection| <>1)..'|
|00002970| 64 6f 6e 74 20 63 6c 65 | 61 72 20 74 68 65 20 63 |dont cle|ar the c|
|00002980| 61 6e 76 61 73 20 69 66 | 20 74 68 65 20 64 72 61 |anvas if| the dra|
|00002990| 77 50 69 63 74 75 72 65 | 20 4d 65 74 68 6f 64 20 |wPicture| Method |
|000029a0| 77 61 73 20 74 72 69 67 | 67 65 72 65 64 20 62 79 |was trig|gered by|
|000029b0| 20 73 63 72 6f 6c 6c 69 | 6e 67 20 76 65 72 74 69 | scrolli|ng verti|
|000029c0| 63 61 6c 6c 79 20 20 04 | 65 6c 73 65 8e 01 27 20 |cally .|else..' |
|000029d0| 6f 74 68 65 72 77 69 73 | 65 20 74 68 65 20 70 61 |otherwis|e the pa|
|000029e0| 72 74 20 6f 66 20 74 68 | 65 20 70 69 63 74 75 72 |rt of th|e pictur|
|000029f0| 65 20 74 6f 20 62 65 20 | 64 72 61 77 6e 20 64 65 |e to be |drawn de|
|00002a00| 70 65 6e 64 73 20 6f 6e | 20 74 68 65 20 73 63 72 |pends on| the scr|
|00002a10| 6f 6c 6c 62 61 72 20 76 | 61 6c 75 65 1d 6d 79 44 |ollbar v|alue.myD|
|00002a20| 65 73 74 57 69 64 74 68 | 20 3d 20 64 72 61 77 42 |estWidth| = drawB|
|00002a30| 6f 61 72 64 2e 77 69 64 | 74 68 29 6d 79 53 72 63 |oard.wid|th)mySrc|
|00002a40| 57 69 64 74 68 20 3d 20 | 64 72 61 77 42 6f 61 72 |Width = |drawBoar|
|00002a50| 64 2e 77 69 64 74 68 20 | 2f 20 7a 6f 6f 6d 46 61 |d.width |/ zoomFa|
|00002a60| 63 74 6f 72 23 6d 79 53 | 72 63 58 20 3d 20 68 53 |ctor#myS|rcX = hS|
|00002a70| 63 72 6f 6c 6c 2e 76 61 | 6c 75 65 20 2f 20 7a 6f |croll.va|lue / zo|
|00002a80| 6f 6d 46 61 63 74 6f 72 | 0b 6d 79 44 65 73 74 58 |omFactor|.myDestX|
|00002a90| 20 3d 20 30 06 65 6e 64 | 20 69 66 00 24 27 20 6e | = 0.end| if.$' n|
|00002aa0| 6f 77 20 64 69 74 74 6f | 20 66 6f 72 20 76 65 72 |ow ditto| for ver|
|00002ab0| 74 69 63 61 6c 20 63 6f | 6f 72 64 69 6e 61 74 65 |tical co|ordinate|
|00002ac0| 73 3a 69 66 20 28 6d 79 | 50 69 63 74 75 72 65 2e |s:if (my|Picture.|
|00002ad0| 68 65 69 67 68 74 20 2a | 20 7a 6f 6f 6d 46 61 63 |height *| zoomFac|
|00002ae0| 74 6f 72 29 20 3c 20 64 | 72 61 77 42 6f 61 72 64 |tor) < d|rawBoard|
|00002af0| 2e 68 65 69 67 68 74 20 | 74 68 65 6e 2c 6d 79 44 |.height |then,myD|
|00002b00| 65 73 74 48 65 69 67 68 | 74 20 3d 20 6d 79 50 69 |estHeigh|t = myPi|
|00002b10| 63 74 75 72 65 2e 68 65 | 69 67 68 74 20 2a 20 7a |cture.he|ight * z|
|00002b20| 6f 6f 6d 46 61 63 74 6f | 72 1f 6d 79 53 72 63 48 |oomFacto|r.mySrcH|
|00002b30| 65 69 67 68 74 20 3d 20 | 6d 79 50 69 63 74 75 72 |eight = |myPictur|
|00002b40| 65 2e 68 65 69 67 68 74 | 20 82 01 6d 79 44 65 73 |e.height| ..myDes|
|00002b50| 74 59 20 3d 20 28 64 72 | 61 77 42 6f 61 72 64 2e |tY = (dr|awBoard.|
|00002b60| 68 65 69 67 68 74 20 2d | 20 28 6d 79 50 69 63 74 |height -| (myPict|
|00002b70| 75 72 65 2e 68 65 69 67 | 68 74 20 2a 20 7a 6f 6f |ure.heig|ht * zoo|
|00002b80| 6d 46 61 63 74 6f 72 29 | 29 20 2f 20 32 0a 6d 79 |mFactor)|) / 2.my|
|00002b90| 53 72 63 59 20 3d 20 30 | 1f 72 65 66 72 65 73 68 |SrcY = 0|.refresh|
|00002ba0| 43 61 6e 76 61 73 20 3d | 20 28 64 69 72 65 63 74 |Canvas =| (direct|
|00002bb0| 69 6f 6e 20 3c 3e 31 29 | 9a 01 27 64 6f 6e 74 20 |ion <>1)|..'dont |
|00002bc0| 63 6c 65 61 72 20 74 68 | 65 20 63 61 6e 76 61 73 |clear th|e canvas|
|00002bd0| 20 69 66 20 74 68 65 20 | 64 72 61 77 50 69 63 74 | if the |drawPict|
|00002be0| 75 72 65 20 4d 65 74 68 | 6f 64 20 77 61 73 20 74 |ure Meth|od was t|
|00002bf0| 72 69 67 67 65 72 65 64 | 20 62 79 20 73 63 72 6f |riggered| by scro|
|00002c00| 6c 6c 69 6e 67 20 68 6f | 72 69 7a 6f 6e 74 61 6c |lling ho|rizontal|
|00002c10| 6c 79 20 20 04 65 6c 73 | 65 1f 6d 79 44 65 73 74 |ly .els|e.myDest|
|00002c20| 48 65 69 67 68 74 20 3d | 20 64 72 61 77 42 6f 61 |Height =| drawBoa|
|00002c30| 72 64 2e 68 65 69 67 68 | 74 2b 6d 79 53 72 63 48 |rd.heigh|t+mySrcH|
|00002c40| 65 69 67 68 74 20 3d 20 | 64 72 61 77 42 6f 61 72 |eight = |drawBoar|
|00002c50| 64 2e 68 65 69 67 68 74 | 20 2f 20 7a 6f 6f 6d 46 |d.height| / zoomF|
|00002c60| 61 63 74 6f 72 23 6d 79 | 53 72 63 59 20 3d 20 76 |actor#my|SrcY = v|
|00002c70| 53 63 72 6f 6c 6c 2e 76 | 61 6c 75 65 20 2f 20 7a |Scroll.v|alue / z|
|00002c80| 6f 6f 6d 46 61 63 74 6f | 72 0b 6d 79 44 65 73 74 |oomFacto|r.myDest|
|00002c90| 59 20 3d 20 30 06 65 6e | 64 20 69 66 00 8d 01 27 |Y = 0.en|d if...'|
|00002ca0| 20 72 65 66 72 65 73 68 | 43 61 6e 76 61 73 20 77 | refresh|Canvas w|
|00002cb0| 69 6c 6c 20 6f 6e 6c 79 | 20 62 65 20 74 72 75 65 |ill only| be true|
|00002cc0| 20 69 66 20 74 68 65 20 | 70 69 63 74 75 72 65 20 | if the |picture |
|00002cd0| 69 73 20 73 6d 61 6c 6c | 65 72 20 74 68 61 6e 20 |is small|er than |
|00002ce0| 74 68 65 20 77 69 6e 64 | 6f 77 2c 20 83 01 27 20 |the wind|ow, ..' |
|00002cf0| 61 6e 64 20 73 6d 61 6c | 6c 65 72 20 74 68 61 6e |and smal|ler than|
|00002d00| 20 74 68 65 20 73 69 7a | 65 20 61 74 20 77 68 69 | the siz|e at whi|
|00002d10| 63 68 20 69 74 20 77 61 | 73 20 64 72 61 77 6e 20 |ch it wa|s drawn |
|00002d20| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 74 69 6d |the prev|ious tim|
|00002d30| 65 15 69 66 20 72 65 66 | 72 65 73 68 43 61 6e 76 |e.if ref|reshCanv|
|00002d40| 61 73 20 74 68 65 6e 3f | 27 20 69 6e 20 74 68 61 |as then?|' in tha|
|00002d50| 74 20 63 61 73 65 20 77 | 65 20 6d 75 73 74 20 63 |t case w|e must c|
|00002d60| 6c 65 61 72 20 74 68 65 | 20 63 61 6e 76 61 73 20 |lear the| canvas |
|00002d70| 62 65 66 6f 72 65 20 64 | 72 61 77 69 6e 67 20 74 |before d|rawing t|
|00002d80| 68 65 20 70 69 63 74 20 | 67 2e 63 6c 65 61 72 52 |he pict |g.clearR|
|00002d90| 65 63 74 20 30 2c 30 2c | 67 2e 77 69 64 74 68 2c |ect 0,0,|g.width,|
|00002da0| 67 2e 68 65 69 67 68 74 | 06 65 6e 64 20 69 66 2d |g.height|.end if-|
|00002db0| 27 20 6e 6f 77 20 64 72 | 61 77 20 74 68 65 20 70 |' now dr|aw the p|
|00002dc0| 69 63 74 75 72 65 20 77 | 69 74 68 20 74 68 65 73 |icture w|ith thes|
|00002dd0| 65 20 63 6f 6f 72 64 69 | 6e 61 74 65 73 ac 01 67 |e coordi|nates..g|
|00002de0| 2e 64 72 61 77 50 69 63 | 74 75 72 65 20 6d 79 50 |.drawPic|ture myP|
|00002df0| 69 63 74 75 72 65 2c 20 | 6d 79 44 65 73 74 58 2c |icture, |myDestX,|
|00002e00| 6d 79 44 65 73 74 59 2c | 6d 79 44 65 73 74 57 69 |myDestY,|myDestWi|
|00002e10| 64 74 68 20 2c 6d 79 44 | 65 73 74 48 65 69 67 68 |dth ,myD|estHeigh|
|00002e20| 74 20 2c 20 6d 79 53 72 | 63 58 2c 20 6d 79 53 72 |t , mySr|cX, mySr|
|00002e30| 63 59 2c 20 6d 79 53 72 | 63 57 69 64 74 68 2c 20 |cY, mySr|cWidth, |
|00002e40| 6d 79 53 72 63 48 65 69 | 67 68 74 06 65 6e 64 20 |mySrcHei|ght.end |
|00002e50| 69 66 00 07 45 6e 64 20 | 53 75 62 07 67 65 74 5a |if..End |Sub.getZ|
|00002e60| 6f 6f 6d 11 6e 65 77 5a | 6f 6f 6d 20 61 73 20 73 |oom.newZ|oom as s|
|00002e70| 69 6e 67 6c 65 07 49 6e | 74 65 67 65 72 00 12 00 |ingle.In|teger...|
|00002e80| 12 00 14 2e 46 75 6e 63 | 74 69 6f 6e 20 67 65 74 |....Func|tion get|
|00002e90| 5a 6f 6f 6d 28 6e 65 77 | 5a 6f 6f 6d 20 61 73 20 |Zoom(new|Zoom as |
|00002ea0| 73 69 6e 67 6c 65 29 20 | 41 73 20 49 6e 74 65 67 |single) |As Integ|
|00002eb0| 65 72 00 2b 27 20 66 69 | 6e 64 20 74 68 65 20 70 |er.+' fi|nd the p|
|00002ec0| 72 65 73 65 74 20 76 61 | 6c 75 65 20 66 6f 72 20 |reset va|lue for |
|00002ed0| 74 68 65 20 7a 6f 6f 6d | 66 61 63 74 6f 72 20 25 |the zoom|factor %|
|00002ee0| 27 20 63 6c 6f 73 65 73 | 74 20 74 6f 20 74 68 65 |' closes|t to the|
|00002ef0| 20 69 6e 70 75 74 20 76 | 61 6c 75 65 3a 20 6e 65 | input v|alue: ne|
|00002f00| 77 5a 6f 6f 6d 00 10 44 | 69 6d 20 69 20 61 73 20 |wZoom..D|im i as |
|00002f10| 69 6e 74 65 67 65 72 00 | 1b 66 6f 72 20 69 20 3d |integer.|.for i =|
|00002f20| 20 31 20 74 6f 20 75 62 | 6f 75 6e 64 28 73 69 7a | 1 to ub|ound(siz|
|00002f30| 65 73 29 20 1e 69 66 20 | 6e 65 77 5a 6f 6f 6d 20 |es) .if |newZoom |
|00002f40| 3c 20 73 69 7a 65 73 28 | 69 20 2d 20 31 29 20 74 |< sizes(|i - 1) t|
|00002f50| 68 65 6e 0f 72 65 74 75 | 72 6e 20 73 69 7a 65 73 |hen.retu|rn sizes|
|00002f60| 28 30 29 1f 65 6c 73 65 | 69 66 20 6e 65 77 5a 6f |(0).else|if newZo|
|00002f70| 6f 6d 20 3c 3d 20 73 69 | 7a 65 73 28 69 29 20 74 |om <= si|zes(i) t|
|00002f80| 68 65 6e 37 69 66 20 28 | 6e 65 77 5a 6f 6f 6d 20 |hen7if (|newZoom |
|00002f90| 2d 20 73 69 7a 65 73 28 | 69 20 2d 20 31 29 29 20 |- sizes(|i - 1)) |
|00002fa0| 3e 20 28 73 69 7a 65 73 | 28 69 29 20 2d 20 6e 65 |> (sizes|(i) - ne|
|00002fb0| 77 5a 6f 6f 6d 29 20 74 | 68 65 6e 0f 72 65 74 75 |wZoom) t|hen.retu|
|00002fc0| 72 6e 20 73 69 7a 65 73 | 28 69 29 04 65 6c 73 65 |rn sizes|(i).else|
|00002fd0| 13 72 65 74 75 72 6e 20 | 73 69 7a 65 73 28 69 20 |.return |sizes(i |
|00002fe0| 2d 20 31 29 06 65 6e 64 | 20 69 66 06 65 6e 64 20 |- 1).end| if.end |
|00002ff0| 69 66 04 6e 65 78 74 00 | 0c 45 6e 64 20 46 75 6e |if.next.|.End Fun|
|00003000| 63 74 69 6f 6e 00 08 05 | 43 6c 6f 73 65 01 00 01 |ction...|Close...|
|00003010| 00 03 0b 53 75 62 20 43 | 6c 6f 73 65 28 29 00 07 |...Sub C|lose()..|
|00003020| 45 6e 64 20 53 75 62 07 | 4b 65 79 44 6f 77 6e 01 |End Sub.|KeyDown.|
|00003030| 00 01 00 03 2a 46 75 6e | 63 74 69 6f 6e 20 4b 65 |....*Fun|ction Ke|
|00003040| 79 44 6f 77 6e 28 4b 65 | 79 20 41 73 20 53 74 72 |yDown(Ke|y As Str|
|00003050| 69 6e 67 29 20 41 73 20 | 42 6f 6f 6c 65 61 6e 00 |ing) As |Boolean.|
|00003060| 0c 45 6e 64 20 46 75 6e | 63 74 69 6f 6e 09 4d 6f |.End Fun|ction.Mo|
|00003070| 75 73 65 44 6f 77 6e 01 | 00 01 00 03 39 46 75 6e |useDown.|....9Fun|
|00003080| 63 74 69 6f 6e 20 4d 6f | 75 73 65 44 6f 77 6e 28 |ction Mo|useDown(|
|00003090| 58 20 41 73 20 49 6e 74 | 65 67 65 72 2c 20 59 20 |X As Int|eger, Y |
|000030a0| 41 73 20 49 6e 74 65 67 | 65 72 29 20 41 73 20 42 |As Integ|er) As B|
|000030b0| 6f 6f 6c 65 61 6e 00 0c | 45 6e 64 20 46 75 6e 63 |oolean..|End Func|
|000030c0| 74 69 6f 6e 04 4f 70 65 | 6e 1a 00 1a 00 1c 0a 53 |tion.Ope|n......S|
|000030d0| 75 62 20 4f 70 65 6e 28 | 29 00 37 27 20 69 6e 69 |ub Open(|).7' ini|
|000030e0| 74 69 61 6c 69 73 65 20 | 7a 6f 6f 6d 20 73 69 7a |tialise |zoom siz|
|000030f0| 65 20 61 72 72 61 79 2c | 20 61 20 70 72 6f 70 65 |e array,| a prope|
|00003100| 72 74 79 20 6f 66 20 74 | 68 69 73 20 77 69 6e 64 |rty of t|his wind|
|00003110| 6f 77 27 27 20 77 65 20 | 64 6f 20 74 68 69 73 20 |ow'' we |do this |
|00003120| 69 6e 20 74 68 65 20 77 | 69 6e 64 6f 77 20 6f 70 |in the w|indow op|
|00003130| 65 6e 20 65 76 65 6e 74 | 2c 20 2b 27 20 73 6f 20 |en event|, +' so |
|00003140| 74 68 61 74 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |that the| window |
|00003150| 69 73 20 6d 6f 72 65 20 | 73 65 6c 66 2d 63 6f 6e |is more |self-con|
|00003160| 74 61 69 6e 65 64 00 0c | 73 69 7a 65 73 28 30 29 |tained..|sizes(0)|
|00003170| 20 3d 20 35 0c 73 69 7a | 65 73 28 31 29 20 3d 20 | = 5.siz|es(1) = |
|00003180| 37 0d 73 69 7a 65 73 28 | 32 29 20 3d 20 31 30 0d |7.sizes(|2) = 10.|
|00003190| 73 69 7a 65 73 28 33 29 | 20 3d 20 31 35 0d 73 69 |sizes(3)| = 15.si|
|000031a0| 7a 65 73 28 34 29 20 3d | 20 32 35 0d 73 69 7a 65 |zes(4) =| 25.size|
|000031b0| 73 28 35 29 20 3d 20 33 | 35 0d 73 69 7a 65 73 28 |s(5) = 3|5.sizes(|
|000031c0| 36 29 20 3d 20 35 30 0d | 73 69 7a 65 73 28 37 29 |6) = 50.|sizes(7)|
|000031d0| 20 3d 20 37 31 0e 73 69 | 7a 65 73 28 38 29 20 3d | = 71.si|zes(8) =|
|000031e0| 20 31 30 30 0e 73 69 7a | 65 73 28 39 29 20 3d 20 | 100.siz|es(9) = |
|000031f0| 31 35 30 0f 73 69 7a 65 | 73 28 31 30 29 20 3d 20 |150.size|s(10) = |
|00003200| 32 30 30 0f 73 69 7a 65 | 73 28 31 31 29 20 3d 20 |200.size|s(11) = |
|00003210| 33 30 30 0f 73 69 7a 65 | 73 28 31 32 29 20 3d 20 |300.size|s(12) = |
|00003220| 34 30 30 0f 73 69 7a 65 | 73 28 31 33 29 20 3d 20 |400.size|s(13) = |
|00003230| 36 30 30 0f 73 69 7a 65 | 73 28 31 34 29 20 3d 20 |600.size|s(14) = |
|00003240| 38 30 30 10 73 69 7a 65 | 73 28 31 35 29 20 3d 20 |800.size|s(15) = |
|00003250| 31 32 30 30 10 73 69 7a | 65 73 28 31 36 29 20 3d |1200.siz|es(16) =|
|00003260| 20 31 36 30 30 00 1f 27 | 20 73 65 74 20 75 70 64 | 1600..'| set upd|
|00003270| 61 74 69 6e 67 20 6f 66 | 20 74 68 65 20 77 69 6e |ating of| the win|
|00003280| 64 6f 77 20 6f 6e 0f 64 | 6f 55 70 64 61 74 65 20 |dow on.d|oUpdate |
|00003290| 3d 20 74 72 75 65 00 07 | 45 6e 64 20 53 75 62 0f |= true..|End Sub.|
|000032a0| 45 6e 61 62 6c 65 4d 65 | 6e 75 49 74 65 6d 73 08 |EnableMe|nuItems.|
|000032b0| 18 08 18 1f 15 53 75 62 | 20 45 6e 61 62 6c 65 4d |.....Sub| EnableM|
|000032c0| 65 6e 75 49 74 65 6d 73 | 28 29 10 44 69 6d 20 69 |enuItems|().Dim i|
|000032d0| 20 61 73 20 69 6e 74 65 | 67 65 72 00 1d 27 20 74 | as inte|ger..' t|
|000032e0| 68 65 20 75 73 65 72 20 | 63 6c 69 63 6b 65 64 20 |he user |clicked |
|000032f0| 6f 6e 20 61 20 6d 65 6e | 75 20 2b 27 20 64 65 74 |on a men|u +' det|
|00003300| 65 72 6d 69 6e 65 20 77 | 68 69 63 68 20 6d 65 6e |ermine w|hich men|
|00003310| 75 49 74 65 6d 73 20 77 | 69 6c 6c 20 62 65 20 65 |uItems w|ill be e|
|00003320| 6e 61 62 6c 65 64 26 27 | 20 28 6f 6e 6c 79 20 74 |nabled&'| (only t|
|00003330| 68 6f 73 65 20 72 65 6c | 65 76 61 6e 74 20 74 6f |hose rel|evant to|
|00003340| 20 74 68 69 73 20 77 69 | 6e 64 6f 77 29 00 18 63 | this wi|ndow)..c|
|00003350| 6c 6f 73 65 49 74 65 6d | 2e 65 6e 61 62 6c 65 64 |loseItem|.enabled|
|00003360| 20 3d 20 74 72 75 65 18 | 50 72 69 6e 74 49 74 65 | = true.|PrintIte|
|00003370| 6d 2e 65 6e 61 62 6c 65 | 64 20 3d 20 74 72 75 65 |m.enable|d = true|
|00003380| 18 63 6c 6f 73 65 49 74 | 65 6d 2e 65 6e 61 62 6c |.closeIt|em.enabl|
|00003390| 65 64 20 3d 20 74 72 75 | 65 17 7a 6f 6f 6d 4d 65 |ed = tru|e.zoomMe|
|000033a0| 6e 75 2e 65 6e 61 62 6c | 65 64 20 3d 20 74 72 75 |nu.enabl|ed = tru|
|000033b0| 65 19 7a 6f 6f 6d 49 6e | 49 74 65 6d 2e 65 6e 61 |e.zoomIn|Item.ena|
|000033c0| 62 6c 65 64 20 3d 20 74 | 72 75 65 1a 7a 6f 6f 6d |bled = t|rue.zoom|
|000033d0| 4f 75 74 49 74 65 6d 2e | 65 6e 61 62 6c 65 64 20 |OutItem.|enabled |
|000033e0| 3d 20 74 72 75 65 00 19 | 69 66 20 7a 6f 6f 6d 50 |= true..|if zoomP|
|000033f0| 65 72 63 65 6e 74 20 3c | 3e 20 32 35 20 74 68 65 |ercent <|> 25 the|
|00003400| 6e 12 7a 32 35 2e 65 6e | 61 62 6c 65 64 20 3d 20 |n.z25.en|abled = |
|00003410| 74 72 75 65 06 65 6e 64 | 20 69 66 19 69 66 20 7a |true.end| if.if z|
|00003420| 6f 6f 6d 50 65 72 63 65 | 6e 74 20 3c 3e 20 35 30 |oomPerce|nt <> 50|
|00003430| 20 74 68 65 6e 12 7a 35 | 30 2e 65 6e 61 62 6c 65 | then.z5|0.enable|
|00003440| 64 20 3d 20 74 72 75 65 | 06 65 6e 64 20 69 66 1a |d = true|.end if.|
|00003450| 69 66 20 7a 6f 6f 6d 50 | 65 72 63 65 6e 74 20 3c |if zoomP|ercent <|
|00003460| 3e 20 31 30 30 20 74 68 | 65 6e 13 7a 31 30 30 2e |> 100 th|en.z100.|
|00003470| 65 6e 61 62 6c 65 64 20 | 3d 20 74 72 75 65 06 65 |enabled |= true.e|
|00003480| 6e 64 20 69 66 1a 69 66 | 20 7a 6f 6f 6d 50 65 72 |nd if.if| zoomPer|
|00003490| 63 65 6e 74 20 3c 3e 20 | 32 30 30 20 74 68 65 6e |cent <> |200 then|
|000034a0| 13 7a 32 30 30 2e 65 6e | 61 62 6c 65 64 20 3d 20 |.z200.en|abled = |
|000034b0| 74 72 75 65 06 65 6e 64 | 20 69 66 1a 69 66 20 7a |true.end| if.if z|
|000034c0| 6f 6f 6d 50 65 72 63 65 | 6e 74 20 3c 3e 20 34 30 |oomPerce|nt <> 40|
|000034d0| 30 20 74 68 65 6e 13 7a | 34 30 30 2e 65 6e 61 62 |0 then.z|400.enab|
|000034e0| 6c 65 64 20 3d 20 74 72 | 75 65 06 65 6e 64 20 69 |led = tr|ue.end i|
|000034f0| 66 00 07 45 6e 64 20 53 | 75 62 07 52 65 73 69 7a |f..End S|ub.Resiz|
|00003500| 65 64 02 00 02 00 07 0d | 53 75 62 20 52 65 73 69 |ed......|Sub Resi|
|00003510| 7a 65 64 28 29 00 10 69 | 66 20 64 6f 55 70 64 61 |zed()..i|f doUpda|
|00003520| 74 65 20 74 68 65 6e 0d | 73 65 74 53 63 72 6f 6c |te then.|setScrol|
|00003530| 6c 53 69 7a 65 06 65 6e | 64 20 69 66 00 07 45 6e |lSize.en|d if..En|
|00003540| 64 20 53 75 62 05 50 61 | 69 6e 74 01 00 01 00 03 |d Sub.Pa|int.....|
|00003550| 18 53 75 62 20 50 61 69 | 6e 74 28 67 20 41 73 20 |.Sub Pai|nt(g As |
|00003560| 47 72 61 70 68 69 63 73 | 29 00 07 45 6e 64 20 53 |Graphics|)..End S|
|00003570| 75 62 05 4d 6f 76 65 64 | 01 00 01 00 03 0b 53 75 |ub.Moved|......Su|
|00003580| 62 20 4d 6f 76 65 64 28 | 29 00 07 45 6e 64 20 53 |b Moved(|)..End S|
|00003590| 75 62 0d 09 73 65 74 75 | 70 49 74 65 6d 01 00 01 |ub..setu|pItem...|
|000035a0| 00 03 1a 46 75 6e 63 74 | 69 6f 6e 20 41 63 74 69 |...Funct|ion Acti|
|000035b0| 6f 6e 20 41 73 20 42 6f | 6f 6c 65 61 6e 00 0c 45 |on As Bo|olean..E|
|000035c0| 6e 64 20 46 75 6e 63 74 | 69 6f 6e 09 63 6c 6f 73 |nd Funct|ion.clos|
|000035d0| 65 49 74 65 6d 04 00 04 | 00 06 1a 46 75 6e 63 74 |eItem...|...Funct|
|000035e0| 69 6f 6e 20 41 63 74 69 | 6f 6e 20 41 73 20 42 6f |ion Acti|on As Bo|
|000035f0| 6f 6c 65 61 6e 00 05 63 | 6c 6f 73 65 13 27 20 63 |olean..c|lose.' c|
|00003600| 6c 6f 73 65 20 74 68 69 | 73 20 77 69 6e 64 6f 77 |lose thi|s window|
|00003610| 00 0c 45 6e 64 20 46 75 | 6e 63 74 69 6f 6e 0a 7a |..End Fu|nction.z|
|00003620| 6f 6f 6d 49 6e 49 74 65 | 6d 03 00 03 00 05 1a 46 |oomInIte|m......F|
|00003630| 75 6e 63 74 69 6f 6e 20 | 41 63 74 69 6f 6e 20 41 |unction |Action A|
|00003640| 73 20 42 6f 6f 6c 65 61 | 6e 00 1d 73 65 74 5a 6f |s Boolea|n..setZo|
|00003650| 6f 6d 20 7a 6f 6f 6d 50 | 65 72 63 65 6e 74 20 2a |om zoomP|ercent *|
|00003660| 20 73 71 72 74 28 32 29 | 00 0c 45 6e 64 20 46 75 | sqrt(2)|..End Fu|
|00003670| 6e 63 74 69 6f 6e 0b 7a | 6f 6f 6d 4f 75 74 49 74 |nction.z|oomOutIt|
|00003680| 65 6d 03 00 03 00 05 1a | 46 75 6e 63 74 69 6f 6e |em......|Function|
|00003690| 20 41 63 74 69 6f 6e 20 | 41 73 20 42 6f 6f 6c 65 | Action |As Boole|
|000036a0| 61 6e 00 1d 73 65 74 5a | 6f 6f 6d 20 7a 6f 6f 6d |an..setZ|oom zoom|
|000036b0| 50 65 72 63 65 6e 74 20 | 2f 20 73 71 72 74 28 32 |Percent |/ sqrt(2|
|000036c0| 29 00 0c 45 6e 64 20 46 | 75 6e 63 74 69 6f 6e 03 |)..End F|unction.|
|000036d0| 7a 32 35 01 00 03 00 05 | 1a 46 75 6e 63 74 69 6f |z25.....|.Functio|
|000036e0| 6e 20 41 63 74 69 6f 6e | 20 41 73 20 42 6f 6f 6c |n Action| As Bool|
|000036f0| 65 61 6e 00 0a 73 65 74 | 5a 6f 6f 6d 20 32 35 00 |ean..set|Zoom 25.|
|00003700| 0c 45 6e 64 20 46 75 6e | 63 74 69 6f 6e 03 7a 35 |.End Fun|ction.z5|
|00003710| 30 02 0a 02 0a 05 1a 46 | 75 6e 63 74 69 6f 6e 20 |0......F|unction |
|00003720| 41 63 74 69 6f 6e 20 41 | 73 20 42 6f 6f 6c 65 61 |Action A|s Boolea|
|00003730| 6e 00 0a 73 65 74 5a 6f | 6f 6d 20 35 30 00 0c 45 |n..setZo|om 50..E|
|00003740| 6e 64 20 46 75 6e 63 74 | 69 6f 6e 04 7a 31 30 30 |nd Funct|ion.z100|
|00003750| 02 0b 02 0b 05 1a 46 75 | 6e 63 74 69 6f 6e 20 41 |......Fu|nction A|
|00003760| 63 74 69 6f 6e 20 41 73 | 20 42 6f 6f 6c 65 61 6e |ction As| Boolean|
|00003770| 00 0b 73 65 74 5a 6f 6f | 6d 20 31 30 30 00 0c 45 |..setZoo|m 100..E|
|00003780| 6e 64 20 46 75 6e 63 74 | 69 6f 6e 04 7a 32 30 30 |nd Funct|ion.z200|
|00003790| 02 0b 02 0b 05 1a 46 75 | 6e 63 74 69 6f 6e 20 41 |......Fu|nction A|
|000037a0| 63 74 69 6f 6e 20 41 73 | 20 42 6f 6f 6c 65 61 6e |ction As| Boolean|
|000037b0| 00 0b 73 65 74 5a 6f 6f | 6d 20 32 30 30 00 0c 45 |..setZoo|m 200..E|
|000037c0| 6e 64 20 46 75 6e 63 74 | 69 6f 6e 04 7a 34 30 30 |nd Funct|ion.z400|
|000037d0| 02 0b 02 0b 05 1a 46 75 | 6e 63 74 69 6f 6e 20 41 |......Fu|nction A|
|000037e0| 63 74 69 6f 6e 20 41 73 | 20 42 6f 6f 6c 65 61 6e |ction As| Boolean|
|000037f0| 00 0b 73 65 74 5a 6f 6f | 6d 20 34 30 30 00 0c 45 |..setZoo|m 400..E|
|00003800| 6e 64 20 46 75 6e 63 74 | 69 6f 6e 04 7a 38 30 30 |nd Funct|ion.z800|
|00003810| 02 0b 02 0b 05 1a 46 75 | 6e 63 74 69 6f 6e 20 41 |......Fu|nction A|
|00003820| 63 74 69 6f 6e 20 41 73 | 20 42 6f 6f 6c 65 61 6e |ction As| Boolean|
|00003830| 00 0b 73 65 74 5a 6f 6f | 6d 20 38 30 30 00 0c 45 |..setZoo|m 800..E|
|00003840| 6e 64 20 46 75 6e 63 74 | 69 6f 6e 05 7a 31 36 30 |nd Funct|ion.z160|
|00003850| 30 02 0c 02 0c 05 1a 46 | 75 6e 63 74 69 6f 6e 20 |0......F|unction |
|00003860| 41 63 74 69 6f 6e 20 41 | 73 20 42 6f 6f 6c 65 61 |Action A|s Boolea|
|00003870| 6e 00 0c 73 65 74 5a 6f | 6f 6d 20 31 36 30 30 00 |n..setZo|om 1600.|
|00003880| 0c 45 6e 64 20 46 75 6e | 63 74 69 6f 6e 09 70 72 |.End Fun|ction.pr|
|00003890| 69 6e 74 49 74 65 6d 1c | 02 1c 0e 21 1a 46 75 6e |intItem.|...!.Fun|
|000038a0| 63 74 69 6f 6e 20 41 63 | 74 69 6f 6e 20 41 73 20 |ction Ac|tion As |
|000038b0| 42 6f 6f 6c 65 61 6e 11 | 44 69 6d 20 67 20 61 73 |Boolean.|Dim g as|
|000038c0| 20 67 72 61 70 68 69 63 | 73 1f 44 69 6d 20 6d 79 | graphic|s.Dim my|
|000038d0| 57 69 64 74 68 2c 20 6d | 79 48 65 69 67 68 74 20 |Width, m|yHeight |
|000038e0| 61 73 20 73 69 6e 67 6c | 65 1d 44 69 6d 20 6d 79 |as singl|e.Dim my|
|000038f0| 54 6f 70 2c 20 6d 79 4c | 65 66 74 20 20 61 73 20 |Top, myL|eft as |
|00003900| 69 6e 74 65 67 65 72 00 | 17 67 20 3d 20 6f 70 65 |integer.|.g = ope|
|00003910| 6e 50 72 69 6e 74 65 72 | 44 69 61 6c 6f 67 28 29 |nPrinter|Dialog()|
|00003920| 1b 27 20 6f 70 65 6e 20 | 74 68 65 20 70 72 69 6e |.' open |the prin|
|00003930| 74 20 64 69 61 6c 6f 67 | 20 62 6f 78 00 25 69 66 |t dialog| box.%if|
|00003940| 20 67 20 3c 3e 20 4e 49 | 4c 20 61 6e 64 20 6d 79 | g <> NI|L and my|
|00003950| 50 69 63 74 75 72 65 20 | 3c 3e 20 4e 49 4c 20 74 |Picture |<> NIL t|
|00003960| 68 65 6e 31 27 20 69 66 | 20 61 20 70 72 69 6e 74 |hen1' if| a print|
|00003970| 65 72 20 69 73 20 61 76 | 61 69 6c 61 62 6c 65 20 |er is av|ailable |
|00003980| 61 6e 64 20 77 65 20 68 | 61 76 65 20 61 20 70 69 |and we h|ave a pi|
|00003990| 63 74 75 72 65 19 6d 79 | 57 69 64 74 68 20 3d 20 |cture.my|Width = |
|000039a0| 6d 79 50 69 63 74 75 72 | 65 2e 77 69 64 74 68 1b |myPictur|e.width.|
|000039b0| 6d 79 48 65 69 67 68 74 | 20 3d 20 6d 79 50 69 63 |myHeight| = myPic|
|000039c0| 74 75 72 65 2e 68 65 69 | 67 68 74 30 69 66 20 6d |ture.hei|ght0if m|
|000039d0| 79 57 69 64 74 68 20 3e | 20 67 2e 77 69 64 74 68 |yWidth >| g.width|
|000039e0| 20 6f 72 20 6d 79 48 65 | 69 67 68 74 20 3e 20 67 | or myHe|ight > g|
|000039f0| 2e 68 65 69 67 68 74 20 | 74 68 65 6e 31 27 20 69 |.height |then1' i|
|00003a00| 66 20 74 68 65 20 70 69 | 63 74 75 72 65 20 69 73 |f the pi|cture is|
|00003a10| 20 62 69 67 67 65 72 20 | 74 68 61 6e 20 74 68 65 | bigger |than the|
|00003a20| 20 70 72 69 6e 74 65 72 | 73 20 70 61 67 65 2f 69 | printer|s page/i|
|00003a30| 66 20 6d 79 57 69 64 74 | 68 20 2f 20 67 2e 77 69 |f myWidt|h / g.wi|
|00003a40| 64 74 68 20 3e 20 6d 79 | 48 65 69 67 68 74 20 2f |dth > my|Height /|
|00003a50| 20 67 2e 68 65 69 67 68 | 74 20 74 68 65 6e 32 27 | g.heigh|t then2'|
|00003a60| 20 69 66 20 74 68 65 20 | 68 6f 72 69 7a 6f 6e 74 | if the |horizont|
|00003a70| 61 6c 20 66 69 74 20 69 | 73 20 77 6f 72 73 65 20 |al fit i|s worse |
|00003a80| 74 68 61 6e 20 74 68 65 | 20 76 65 72 74 69 63 61 |than the| vertica|
|00003a90| 6c 1f 6d 79 57 69 64 74 | 68 20 3d 20 6d 69 6e 28 |l.myWidt|h = min(|
|00003aa0| 67 2e 77 69 64 74 68 2c | 20 6d 79 57 69 64 74 68 |g.width,| myWidth|
|00003ab0| 29 2f 6d 79 48 65 69 67 | 68 74 20 3d 20 6d 79 48 |)/myHeig|ht = myH|
|00003ac0| 65 69 67 68 74 20 2a 20 | 6d 79 57 69 64 74 68 20 |eight * |myWidth |
|00003ad0| 2f 20 6d 79 50 69 63 74 | 75 72 65 2e 77 69 64 74 |/ myPict|ure.widt|
|00003ae0| 68 04 65 6c 73 65 21 6d | 79 48 65 69 67 68 74 20 |h.else!m|yHeight |
|00003af0| 3d 20 6d 69 6e 28 67 2e | 68 65 69 67 68 74 2c 6d |= min(g.|height,m|
|00003b00| 79 48 65 69 67 68 74 29 | 2f 6d 79 57 69 64 74 68 |yHeight)|/myWidth|
|00003b10| 20 3d 20 6d 79 57 69 64 | 74 68 20 2a 20 6d 79 48 | = myWid|th * myH|
|00003b20| 65 69 67 68 74 20 2f 20 | 6d 79 50 69 63 74 75 72 |eight / |myPictur|
|00003b30| 65 2e 68 65 69 67 68 74 | 06 65 6e 64 20 69 66 04 |e.height|.end if.|
|00003b40| 65 6c 73 65 19 6d 79 57 | 69 64 74 68 20 3d 20 6d |else.myW|idth = m|
|00003b50| 79 50 69 63 74 75 72 65 | 2e 77 69 64 74 68 1b 6d |yPicture|.width.m|
|00003b60| 79 48 65 69 67 68 74 20 | 3d 20 6d 79 50 69 63 74 |yHeight |= myPict|
|00003b70| 75 72 65 2e 68 65 69 67 | 68 74 06 65 6e 64 20 69 |ure.heig|ht.end i|
|00003b80| 66 20 6d 79 4c 65 66 74 | 20 3d 20 28 67 2e 77 69 |f myLeft| = (g.wi|
|00003b90| 64 74 68 20 2d 20 6d 79 | 57 69 64 74 68 29 20 2f |dth - my|Width) /|
|00003ba0| 20 32 21 6d 79 54 6f 70 | 20 3d 20 28 67 2e 68 65 | 2!myTop| = (g.he|
|00003bb0| 69 67 68 74 20 2d 20 6d | 79 48 65 69 67 68 74 29 |ight - m|yHeight)|
|00003bc0| 20 2f 20 32 9e 01 67 2e | 64 72 61 77 50 69 63 74 | / 2..g.|drawPict|
|00003bd0| 75 72 65 20 6d 79 50 69 | 63 74 75 72 65 2c 20 6d |ure myPi|cture, m|
|00003be0| 79 4c 65 66 74 2c 6d 79 | 54 6f 70 2c 20 6d 79 57 |yLeft,my|Top, myW|
|00003bf0| 69 64 74 68 2c 20 6d 79 | 48 65 69 67 68 74 2c 30 |idth, my|Height,0|
|00003c00| 2c 30 2c 6d 79 50 69 63 | 74 75 72 65 2e 77 69 64 |,0,myPic|ture.wid|
|00003c10| 74 68 2c 20 6d 79 50 69 | 63 74 75 72 65 2e 68 65 |th, myPi|cture.he|
|00003c20| 69 67 68 74 06 65 6e 64 | 20 69 66 0b 72 65 74 75 |ight.end| if.retu|
|00003c30| 72 6e 20 74 72 75 65 00 | 0c 45 6e 64 20 46 75 6e |rn true.|.End Fun|
|00003c40| 63 74 69 6f 6e 09 73 65 | 74 75 70 49 74 65 6d 03 |ction.se|tupItem.|
|00003c50| 10 03 10 06 1a 46 75 6e | 63 74 69 6f 6e 20 41 63 |.....Fun|ction Ac|
|00003c60| 74 69 6f 6e 20 41 73 20 | 42 6f 6f 6c 65 61 6e 00 |tion As |Boolean.|
|00003c70| 3e 27 20 77 68 65 6e 20 | 77 65 27 6c 6c 20 68 61 |>' when |we'll ha|
|00003c80| 76 65 20 74 68 65 20 61 | 62 69 6c 69 74 79 20 74 |ve the a|bility t|
|00003c90| 6f 20 63 61 6c 6c 20 75 | 70 20 74 68 65 20 70 61 |o call u|p the pa|
|00003ca0| 67 65 20 73 65 74 75 70 | 20 64 69 61 6c 6f 67 18 |ge setup| dialog.|
|00003cb0| 27 20 74 68 61 74 20 63 | 6f 64 65 20 77 69 6c 6c |' that c|ode will|
|00003cc0| 20 67 6f 20 68 65 72 65 | 00 0c 45 6e 64 20 46 75 | go here|..End Fu|
|00003cd0| 6e 63 74 69 6f 6e 00 04 | 07 00 00 ac 01 09 53 63 |nction..|......Sc|
|00003ce0| 72 6f 6c 6c 42 61 72 00 | 00 00 00 01 0c 56 61 6c |rollBar.|.....Val|
|00003cf0| 75 65 43 68 61 6e 67 65 | 64 02 21 02 21 05 12 53 |ueChange|d.!.!..S|
|00003d00| 75 62 20 56 61 6c 75 65 | 43 68 61 6e 67 65 64 28 |ub Value|Changed(|
|00003d10| 29 00 21 64 72 61 77 50 | 69 63 74 75 72 65 20 64 |).!drawP|icture d|
|00003d20| 72 61 77 42 6f 61 72 64 | 2e 67 72 61 70 68 69 63 |rawBoard|.graphic|
|00003d30| 73 2c 20 31 00 07 45 6e | 64 20 53 75 62 00 00 07 |s, 1..En|d Sub...|
|00003d40| 00 00 ac 01 09 53 63 72 | 6f 6c 6c 42 61 72 00 00 |.....Scr|ollBar..|
|00003d50| 00 00 01 0c 56 61 6c 75 | 65 43 68 61 6e 67 65 64 |....Valu|eChanged|
|00003d60| 02 21 02 21 05 12 53 75 | 62 20 56 61 6c 75 65 43 |.!.!..Su|b ValueC|
|00003d70| 68 61 6e 67 65 64 28 29 | 00 21 64 72 61 77 50 69 |hanged()|.!drawPi|
|00003d80| 63 74 75 72 65 20 64 72 | 61 77 42 6f 61 72 64 2e |cture dr|awBoard.|
|00003d90| 67 72 61 70 68 69 63 73 | 2c 20 32 00 07 45 6e 64 |graphics|, 2..End|
|00003da0| 20 53 75 62 00 00 07 00 | 00 a6 01 0c 62 65 76 65 | Sub....|....beve|
|00003db0| 6c 50 75 73 68 42 75 74 | 00 00 00 00 07 09 4d 6f |lPushBut|......Mo|
|00003dc0| 75 73 65 44 72 61 67 01 | 00 01 00 03 3b 53 75 62 |useDrag.|....;Sub|
|00003dd0| 20 4d 6f 75 73 65 44 72 | 61 67 28 49 6e 64 65 78 | MouseDr|ag(Index|
|00003de0| 20 41 73 20 49 6e 74 65 | 67 65 72 2c 20 58 20 41 | As Inte|ger, X A|
|00003df0| 73 20 49 6e 74 65 67 65 | 72 2c 20 59 20 41 73 20 |s Intege|r, Y As |
|00003e00| 49 6e 74 65 67 65 72 29 | 00 07 45 6e 64 20 53 75 |Integer)|..End Su|
|00003e10| 62 09 4d 6f 75 73 65 4d | 6f 76 65 01 00 01 00 03 |b.MouseM|ove.....|
|00003e20| 3b 53 75 62 20 4d 6f 75 | 73 65 4d 6f 76 65 28 49 |;Sub Mou|seMove(I|
|00003e30| 6e 64 65 78 20 41 73 20 | 49 6e 74 65 67 65 72 2c |ndex As |Integer,|
|00003e40| 20 58 20 41 73 20 49 6e | 74 65 67 65 72 2c 20 59 | X As In|teger, Y|
|00003e50| 20 41 73 20 49 6e 74 65 | 67 65 72 29 00 07 45 6e | As Inte|ger)..En|
|00003e60| 64 20 53 75 62 0a 4d 6f | 75 73 65 45 6e 74 65 72 |d Sub.Mo|useEnter|
|00003e70| 01 00 01 00 03 20 53 75 | 62 20 4d 6f 75 73 65 45 |..... Su|b MouseE|
|00003e80| 6e 74 65 72 28 49 6e 64 | 65 78 20 41 73 20 49 6e |nter(Ind|ex As In|
|00003e90| 74 65 67 65 72 29 00 07 | 45 6e 64 20 53 75 62 04 |teger)..|End Sub.|
|00003ea0| 4f 70 65 6e 01 00 01 00 | 03 1a 53 75 62 20 4f 70 |Open....|..Sub Op|
|00003eb0| 65 6e 28 49 6e 64 65 78 | 20 41 73 20 49 6e 74 65 |en(Index| As Inte|
|00003ec0| 67 65 72 29 00 07 45 6e | 64 20 53 75 62 09 4d 6f |ger)..En|d Sub.Mo|
|00003ed0| 75 73 65 44 6f 77 6e 03 | 00 03 00 05 8b 01 46 75 |useDown.|......Fu|
|00003ee0| 6e 63 74 69 6f 6e 20 6d | 6f 75 73 65 44 6f 77 6e |nction m|ouseDown|
|00003ef0| 28 49 6e 64 65 78 20 41 | 73 20 49 6e 74 65 67 65 |(Index A|s Intege|
|00003f00| 72 2c 20 58 20 61 73 20 | 69 6e 74 65 67 65 72 2c |r, X as |integer,|
|00003f10| 20 59 20 61 73 20 69 6e | 74 65 67 65 72 29 20 41 | Y as in|teger) A|
|00003f20| 73 20 42 6f 6f 6c 65 61 | 6e 00 0b 72 65 74 75 72 |s Boolea|n..retur|
|00003f30| 6e 20 74 72 75 65 00 0c | 45 6e 64 20 46 75 6e 63 |n true..|End Func|
|00003f40| 74 69 6f 6e 07 4d 6f 75 | 73 65 55 70 02 06 02 06 |tion.Mou|seUp....|
|00003f50| 09 39 53 75 62 20 4d 6f | 75 73 65 75 70 28 49 6e |.9Sub Mo|useup(In|
|00003f60| 64 65 78 20 41 73 20 49 | 6e 74 65 67 65 72 2c 20 |dex As I|nteger, |
|00003f70| 58 20 61 73 20 69 6e 74 | 65 67 65 72 2c 20 59 20 |X as int|eger, Y |
|00003f80| 61 73 20 69 6e 74 65 67 | 65 72 29 00 14 69 66 20 |as integ|er)..if |
|00003f90| 6d 65 2e 69 6e 64 65 78 | 20 3d 20 30 20 74 68 65 |me.index| = 0 the|
|00003fa0| 6e 1d 73 65 74 5a 6f 6f | 6d 20 7a 6f 6f 6d 50 65 |n.setZoo|m zoomPe|
|00003fb0| 72 63 65 6e 74 20 2f 20 | 73 71 72 74 28 32 29 04 |rcent / |sqrt(2).|
|00003fc0| 65 6c 73 65 1d 73 65 74 | 5a 6f 6f 6d 20 7a 6f 6f |else.set|Zoom zoo|
|00003fd0| 6d 50 65 72 63 65 6e 74 | 20 2a 20 73 71 72 74 28 |mPercent| * sqrt(|
|00003fe0| 32 29 06 65 6e 64 20 69 | 66 00 07 45 6e 64 20 53 |2).end i|f..End S|
|00003ff0| 75 62 05 50 61 69 6e 74 | 01 00 01 00 03 18 53 75 |ub.Paint|......Su|
|00004000| 62 20 50 61 69 6e 74 28 | 67 20 41 73 20 47 72 61 |b Paint(|g As Gra|
|00004010| 70 68 69 63 73 29 00 07 | 45 6e 64 20 53 75 62 00 |phics)..|End Sub.|
|00004020| 00 07 00 00 98 01 06 43 | 61 6e 76 61 73 00 00 00 |.......C|anvas...|
|00004030| 00 02 09 4d 6f 75 73 65 | 44 6f 77 6e 01 00 01 00 |...Mouse|Down....|
|00004040| 03 39 46 75 6e 63 74 69 | 6f 6e 20 4d 6f 75 73 65 |.9Functi|on Mouse|
|00004050| 44 6f 77 6e 28 58 20 41 | 73 20 49 6e 74 65 67 65 |Down(X A|s Intege|
|00004060| 72 2c 20 59 20 41 73 20 | 49 6e 74 65 67 65 72 29 |r, Y As |Integer)|
|00004070| 20 41 73 20 42 6f 6f 6c | 65 61 6e 00 0c 45 6e 64 | As Bool|ean..End|
|00004080| 20 46 75 6e 63 74 69 6f | 6e 05 50 61 69 6e 74 02 | Functio|n.Paint.|
|00004090| 10 02 10 05 18 53 75 62 | 20 50 61 69 6e 74 28 67 |.....Sub| Paint(g|
|000040a0| 20 41 73 20 47 72 61 70 | 68 69 63 73 29 00 10 64 | As Grap|hics)..d|
|000040b0| 72 61 77 50 69 63 74 75 | 72 65 20 67 2c 20 30 00 |rawPictu|re g, 0.|
|000040c0| 07 45 6e 64 20 53 75 62 | 00 00 05 09 53 63 72 6f |.End Sub|....Scro|
|000040d0| 6c 6c 42 61 72 16 04 4e | 61 6d 65 07 68 53 63 72 |llBar..N|ame.hScr|
|000040e0| 6f 6c 6c 05 49 6e 64 65 | 78 0b 2d 32 31 34 37 34 |oll.Inde|x.-21474|
|000040f0| 38 33 36 34 38 0d 54 61 | 62 50 61 6e 65 6c 49 6e |83648.Ta|bPanelIn|
|00004100| 64 65 78 01 30 07 56 69 | 73 69 62 6c 65 04 54 72 |dex.0.Vi|sible.Tr|
|00004110| 75 65 04 4c 65 66 74 02 | 33 37 03 54 6f 70 03 34 |ue.Left.|37.Top.4|
|00004120| 33 32 05 57 69 64 74 68 | 03 34 33 32 06 48 65 69 |32.Width|.432.Hei|
|00004130| 67 68 74 02 31 36 0b 42 | 61 6c 6c 6f 6f 6e 48 65 |ght.16.B|alloonHe|
|00004140| 6c 70 00 13 44 69 73 61 | 62 6c 65 64 42 61 6c 6c |lp..Disa|bledBall|
|00004150| 6f 6f 6e 48 65 6c 70 00 | 08 4c 6f 63 6b 4c 65 66 |oonHelp.|.LockLef|
|00004160| 74 04 54 72 75 65 07 4c | 6f 63 6b 54 6f 70 05 46 |t.True.L|ockTop.F|
|00004170| 61 6c 73 65 09 4c 6f 63 | 6b 52 69 67 68 74 04 54 |alse.Loc|kRight.T|
|00004180| 72 75 65 0a 4c 6f 63 6b | 42 6f 74 74 6f 6d 04 54 |rue.Lock|Bottom.T|
|00004190| 72 75 65 07 4d 69 6e 69 | 6d 75 6d 01 30 05 56 61 |rue.Mini|mum.0.Va|
|000041a0| 6c 75 65 01 30 07 4d 61 | 78 69 6d 75 6d 01 31 04 |lue.0.Ma|ximum.1.|
|000041b0| 53 70 61 6e 01 31 07 45 | 6e 61 62 6c 65 64 04 54 |Span.1.E|nabled.T|
|000041c0| 72 75 65 08 4c 69 6e 65 | 53 74 65 70 02 31 36 08 |rue.Line|Step.16.|
|000041d0| 50 61 67 65 53 74 65 70 | 03 31 36 30 0a 4c 69 76 |PageStep|.160.Liv|
|000041e0| 65 53 63 72 6f 6c 6c 05 | 46 61 6c 73 65 01 09 53 |eScroll.|False..S|
|000041f0| 63 72 6f 6c 6c 42 61 72 | 16 04 4e 61 6d 65 07 76 |crollBar|..Name.v|
|00004200| 53 63 72 6f 6c 6c 05 49 | 6e 64 65 78 0b 2d 32 31 |Scroll.I|ndex.-21|
|00004210| 34 37 34 38 33 36 34 38 | 0d 54 61 62 50 61 6e 65 |47483648|.TabPane|
|00004220| 6c 49 6e 64 65 78 01 30 | 07 56 69 73 69 62 6c 65 |lIndex.0|.Visible|
|00004230| 04 54 72 75 65 04 4c 65 | 66 74 03 34 36 38 03 54 |.True.Le|ft.468.T|
|00004240| 6f 70 02 2d 31 05 57 69 | 64 74 68 02 31 36 06 48 |op.-1.Wi|dth.16.H|
|00004250| 65 69 67 68 74 03 34 33 | 34 0b 42 61 6c 6c 6f 6f |eight.43|4.Balloo|
|00004260| 6e 48 65 6c 70 00 13 44 | 69 73 61 62 6c 65 64 42 |nHelp..D|isabledB|
|00004270| 61 6c 6c 6f 6f 6e 48 65 | 6c 70 00 08 4c 6f 63 6b |alloonHe|lp..Lock|
|00004280| 4c 65 66 74 05 46 61 6c | 73 65 07 4c 6f 63 6b 54 |Left.Fal|se.LockT|
|00004290| 6f 70 04 54 72 75 65 09 | 4c 6f 63 6b 52 69 67 68 |op.True.|LockRigh|
|000042a0| 74 04 54 72 75 65 0a 4c | 6f 63 6b 42 6f 74 74 6f |t.True.L|ockBotto|
|000042b0| 6d 04 54 72 75 65 07 4d | 69 6e 69 6d 75 6d 01 30 |m.True.M|inimum.0|
|000042c0| 05 56 61 6c 75 65 01 30 | 07 4d 61 78 69 6d 75 6d |.Value.0|.Maximum|
|000042d0| 01 31 04 53 70 61 6e 01 | 31 07 45 6e 61 62 6c 65 |.1.Span.|1.Enable|
|000042e0| 64 04 54 72 75 65 08 4c | 69 6e 65 53 74 65 70 02 |d.True.L|ineStep.|
|000042f0| 31 36 08 50 61 67 65 53 | 74 65 70 03 31 36 30 0a |16.PageS|tep.160.|
|00004300| 4c 69 76 65 53 63 72 6f | 6c 6c 05 46 61 6c 73 65 |LiveScro|ll.False|
|00004310| 00 06 43 61 6e 76 61 73 | 10 04 4e 61 6d 65 04 6b |..Canvas|..Name.k|
|00004320| 6e 6f 70 05 49 6e 64 65 | 78 01 30 0d 54 61 62 50 |nop.Inde|x.0.TabP|
|00004330| 61 6e 65 6c 49 6e 64 65 | 78 01 30 07 56 69 73 69 |anelInde|x.0.Visi|
|00004340| 62 6c 65 04 54 72 75 65 | 04 4c 65 66 74 02 2d 31 |ble.True|.Left.-1|
|00004350| 03 54 6f 70 03 34 33 32 | 05 57 69 64 74 68 02 32 |.Top.432|.Width.2|
|00004360| 30 06 48 65 69 67 68 74 | 02 31 36 0b 42 61 6c 6c |0.Height|.16.Ball|
|00004370| 6f 6f 6e 48 65 6c 70 00 | 13 44 69 73 61 62 6c 65 |oonHelp.|.Disable|
|00004380| 64 42 61 6c 6c 6f 6f 6e | 48 65 6c 70 00 08 4c 6f |dBalloon|Help..Lo|
|00004390| 63 6b 4c 65 66 74 05 46 | 61 6c 73 65 07 4c 6f 63 |ckLeft.F|alse.Loc|
|000043a0| 6b 54 6f 70 05 46 61 6c | 73 65 09 4c 6f 63 6b 52 |kTop.Fal|se.LockR|
|000043b0| 69 67 68 74 05 46 61 6c | 73 65 0a 4c 6f 63 6b 42 |ight.Fal|se.LockB|
|000043c0| 6f 74 74 6f 6d 04 54 72 | 75 65 08 42 61 63 6b 64 |ottom.Tr|ue.Backd|
|000043d0| 72 6f 70 02 31 34 07 45 | 6e 61 62 6c 65 64 04 54 |rop.14.E|nabled.T|
|000043e0| 72 75 65 02 06 43 61 6e | 76 61 73 10 04 4e 61 6d |rue..Can|vas..Nam|
|000043f0| 65 04 6b 6e 6f 70 05 49 | 6e 64 65 78 01 31 0d 54 |e.knop.I|ndex.1.T|
|00004400| 61 62 50 61 6e 65 6c 49 | 6e 64 65 78 01 30 07 56 |abPanelI|ndex.0.V|
|00004410| 69 73 69 62 6c 65 04 54 | 72 75 65 04 4c 65 66 74 |isible.T|rue.Left|
|00004420| 02 31 38 03 54 6f 70 03 | 34 33 32 05 57 69 64 74 |.18.Top.|432.Widt|
|00004430| 68 02 32 30 06 48 65 69 | 67 68 74 02 31 36 0b 42 |h.20.Hei|ght.16.B|
|00004440| 61 6c 6c 6f 6f 6e 48 65 | 6c 70 00 13 44 69 73 61 |alloonHe|lp..Disa|
|00004450| 62 6c 65 64 42 61 6c 6c | 6f 6f 6e 48 65 6c 70 00 |bledBall|oonHelp.|
|00004460| 08 4c 6f 63 6b 4c 65 66 | 74 05 46 61 6c 73 65 07 |.LockLef|t.False.|
|00004470| 4c 6f 63 6b 54 6f 70 05 | 46 61 6c 73 65 09 4c 6f |LockTop.|False.Lo|
|00004480| 63 6b 52 69 67 68 74 05 | 46 61 6c 73 65 0a 4c 6f |ckRight.|False.Lo|
|00004490| 63 6b 42 6f 74 74 6f 6d | 04 54 72 75 65 08 42 61 |ckBottom|.True.Ba|
|000044a0| 63 6b 64 72 6f 70 02 31 | 33 07 45 6e 61 62 6c 65 |ckdrop.1|3.Enable|
|000044b0| 64 04 54 72 75 65 02 06 | 43 61 6e 76 61 73 10 04 |d.True..|Canvas..|
|000044c0| 4e 61 6d 65 09 64 72 61 | 77 42 6f 61 72 64 05 49 |Name.dra|wBoard.I|
|000044d0| 6e 64 65 78 0b 2d 32 31 | 34 37 34 38 33 36 34 38 |ndex.-21|47483648|
|000044e0| 0d 54 61 62 50 61 6e 65 | 6c 49 6e 64 65 78 01 30 |.TabPane|lIndex.0|
|000044f0| 07 56 69 73 69 62 6c 65 | 04 54 72 75 65 04 4c 65 |.Visible|.True.Le|
|00004500| 66 74 01 30 03 54 6f 70 | 01 30 05 57 69 64 74 68 |ft.0.Top|.0.Width|
|00004510| 03 34 36 38 06 48 65 69 | 67 68 74 03 34 33 32 0b |.468.Hei|ght.432.|
|00004520| 42 61 6c 6c 6f 6f 6e 48 | 65 6c 70 00 13 44 69 73 |BalloonH|elp..Dis|
|00004530| 61 62 6c 65 64 42 61 6c | 6c 6f 6f 6e 48 65 6c 70 |abledBal|loonHelp|
|00004540| 00 08 4c 6f 63 6b 4c 65 | 66 74 04 54 72 75 65 07 |..LockLe|ft.True.|
|00004550| 4c 6f 63 6b 54 6f 70 04 | 54 72 75 65 09 4c 6f 63 |LockTop.|True.Loc|
|00004560| 6b 52 69 67 68 74 04 54 | 72 75 65 0a 4c 6f 63 6b |kRight.T|rue.Lock|
|00004570| 42 6f 74 74 6f 6d 04 54 | 72 75 65 08 42 61 63 6b |Bottom.T|rue.Back|
|00004580| 64 72 6f 70 01 30 07 45 | 6e 61 62 6c 65 64 04 54 |drop.0.E|nabled.T|
|00004590| 72 75 65 03 00 0c 41 05 | 43 6c 61 73 73 0c 62 65 |rue...A.|Class.be|
|000045a0| 76 65 6c 50 75 73 68 42 | 75 74 0f 96 03 96 0c a6 |velPushB|ut......|
|000045b0| 08 07 00 0c 62 65 76 65 | 6c 50 75 73 68 42 75 74 |....beve|lPushBut|
|000045c0| a6 01 06 43 61 6e 76 61 | 73 00 05 15 74 6f 70 4c |...Canva|s...topL|
|000045d0| 65 66 74 43 6f 6c 6f 72 | 20 61 73 20 63 6f 6c 6f |eftColor| as colo|
|000045e0| 72 00 16 62 6f 74 52 69 | 67 68 74 43 6f 6c 6f 72 |r..botRi|ghtColor|
|000045f0| 20 61 73 20 63 6f 6c 6f | 72 00 14 6d 79 46 69 6c | as colo|r..myFil|
|00004600| 6c 43 6f 6c 6f 72 20 61 | 73 20 63 6f 6c 6f 72 00 |lColor a|s color.|
|00004610| 16 6d 6f 75 73 65 55 70 | 46 6c 61 67 20 61 73 20 |.mouseUp|Flag as |
|00004620| 62 6f 6f 6c 65 61 6e 01 | 14 64 72 61 77 53 74 61 |boolean.|.drawSta|
|00004630| 74 65 20 61 73 20 62 6f | 6f 6c 65 61 6e 01 03 09 |te as bo|olean...|
|00004640| 73 65 74 43 6f 6c 6f 72 | 73 10 73 74 61 74 65 20 |setColor|s.state |
|00004650| 61 73 20 69 6e 74 65 67 | 65 72 00 00 03 2f 03 2f |as integ|er..././|
|00004660| 13 1f 53 75 62 20 73 65 | 74 43 6f 6c 6f 72 73 28 |..Sub se|tColors(|
|00004670| 73 74 61 74 65 20 61 73 | 20 69 6e 74 65 67 65 72 |state as| integer|
|00004680| 29 00 3b 27 20 73 65 74 | 20 74 68 65 20 62 65 76 |).;' set| the bev|
|00004690| 65 6c 20 63 6f 6c 6f 72 | 73 20 64 65 70 65 6e 64 |el color|s depend|
|000046a0| 69 6e 67 20 6f 6e 20 74 | 68 65 20 73 74 61 74 65 |ing on t|he state|
|000046b0| 20 6f 66 20 74 68 65 20 | 62 75 74 74 6f 6e 2f 27 | of the |button/'|
|000046c0| 20 74 68 69 73 20 69 73 | 20 70 61 73 73 65 64 20 | this is| passed |
|000046d0| 69 6e 20 74 68 72 6f 75 | 67 68 20 74 68 65 20 73 |in throu|gh the s|
|000046e0| 74 61 74 65 20 70 61 72 | 61 6d 65 74 65 72 11 73 |tate par|ameter.s|
|000046f0| 65 6c 65 63 74 20 63 61 | 73 65 20 73 74 61 74 65 |elect ca|se state|
|00004700| 06 63 61 73 65 20 30 14 | 27 20 6e 6f 72 6d 61 6c |.case 0.|' normal|
|00004710| 20 28 75 70 29 20 62 75 | 74 74 6f 6e 21 6d 65 2e | (up) bu|tton!me.|
|00004720| 62 6f 74 52 69 67 68 74 | 43 6f 6c 6f 72 20 3d 20 |botRight|Color = |
|00004730| 64 61 72 6b 42 65 76 65 | 6c 43 6f 6c 6f 72 21 6d |darkBeve|lColor!m|
|00004740| 65 2e 74 6f 70 4c 65 66 | 74 43 6f 6c 6f 72 20 3d |e.topLef|tColor =|
|00004750| 20 6c 69 67 68 74 42 65 | 76 65 6c 43 6f 6c 6f 72 | lightBe|velColor|
|00004760| 1a 6d 65 2e 6d 79 46 69 | 6c 6c 43 6f 6c 6f 72 20 |.me.myFi|llColor |
|00004770| 3d 20 66 69 6c 6c 43 6f | 6c 6f 72 06 63 61 73 65 |= fillCo|lor.case|
|00004780| 20 31 17 27 20 70 72 65 | 73 73 65 64 20 28 64 6f | 1.' pre|ssed (do|
|00004790| 77 6e 29 20 62 75 74 74 | 6f 6e 22 6d 65 2e 62 6f |wn) butt|on"me.bo|
|000047a0| 74 52 69 67 68 74 43 6f | 6c 6f 72 20 3d 20 6c 69 |tRightCo|lor = li|
|000047b0| 67 68 74 42 65 76 65 6c | 43 6f 6c 6f 72 20 6d 65 |ghtBevel|Color me|
|000047c0| 2e 74 6f 70 4c 65 66 74 | 43 6f 6c 6f 72 20 3d 20 |.topLeft|Color = |
|000047d0| 64 61 72 6b 54 69 6e 67 | 65 43 6f 6c 6f 72 1f 6d |darkTing|eColor.m|
|000047e0| 65 2e 6d 79 46 69 6c 6c | 43 6f 6c 6f 72 20 3d 20 |e.myFill|Color = |
|000047f0| 64 61 72 6b 42 65 76 65 | 6c 43 6f 6c 6f 72 00 0a |darkBeve|lColor..|
|00004800| 65 6e 64 20 73 65 6c 65 | 63 74 00 07 45 6e 64 20 |end sele|ct..End |
|00004810| 53 75 62 0a 64 72 61 77 | 42 75 74 74 6f 6e 0d 67 |Sub.draw|Button.g|
|00004820| 20 61 73 20 67 72 61 70 | 68 69 63 73 00 00 12 00 | as grap|hics....|
|00004830| 12 00 16 1d 53 75 62 20 | 64 72 61 77 42 75 74 74 |....Sub |drawButt|
|00004840| 6f 6e 28 67 20 61 73 20 | 67 72 61 70 68 69 63 73 |on(g as |graphics|
|00004850| 29 10 44 69 6d 20 70 20 | 61 73 20 70 69 63 74 75 |).Dim p |as pictu|
|00004860| 72 65 00 28 27 64 72 61 | 77 20 74 68 65 20 62 75 |re.('dra|w the bu|
|00004870| 74 74 6f 6e 20 62 65 76 | 65 6c 73 2c 20 66 69 6c |tton bev|els, fil|
|00004880| 6c 20 61 6e 64 20 66 72 | 61 6d 65 20 1b 67 2e 66 |l and fr|ame .g.f|
|00004890| 6f 72 65 43 6f 6c 6f 72 | 20 3d 20 62 6f 74 52 69 |oreColor| = botRi|
|000048a0| 67 68 74 43 6f 6c 6f 72 | 23 67 2e 64 72 61 77 52 |ghtColor|#g.drawR|
|000048b0| 65 63 74 20 2d 32 2c 2d | 32 2c 67 2e 77 69 64 74 |ect -2,-|2,g.widt|
|000048c0| 68 20 2c 67 2e 68 65 69 | 67 68 74 20 1a 67 2e 66 |h ,g.hei|ght .g.f|
|000048d0| 6f 72 65 43 6f 6c 6f 72 | 20 3d 20 74 6f 70 4c 65 |oreColor| = topLe|
|000048e0| 66 74 43 6f 6c 6f 72 20 | 67 2e 64 72 61 77 52 65 |ftColor |g.drawRe|
|000048f0| 63 74 20 31 2c 31 2c 67 | 2e 77 69 64 74 68 20 2c |ct 1,1,g|.width ,|
|00004900| 67 2e 68 65 69 67 68 74 | 19 67 2e 66 6f 72 65 43 |g.height|.g.foreC|
|00004910| 6f 6c 6f 72 20 3d 20 6d | 79 46 69 6c 6c 43 6f 6c |olor = m|yFillCol|
|00004920| 6f 72 26 67 2e 66 69 6c | 6c 52 65 63 74 20 32 2c |or&g.fil|lRect 2,|
|00004930| 32 2c 67 2e 77 69 64 74 | 68 20 2d 34 20 2c 67 2e |2,g.widt|h -4 ,g.|
|00004940| 68 65 69 67 68 74 20 2d | 34 18 67 2e 66 6f 72 65 |height -|4.g.fore|
|00004950| 43 6f 6c 6f 72 20 3d 20 | 66 72 61 6d 65 43 6f 6c |Color = |frameCol|
|00004960| 6f 72 26 67 2e 64 72 61 | 77 52 65 63 74 20 30 2c |or&g.dra|wRect 0,|
|00004970| 30 2c 67 2e 77 69 64 74 | 68 20 2d 31 20 2c 67 2e |0,g.widt|h -1 ,g.|
|00004980| 68 65 69 67 68 74 20 2d | 31 00 8e 01 27 20 73 65 |height -|1...' se|
|00004990| 74 74 69 6e 67 20 74 68 | 65 20 62 61 63 6b 64 72 |tting th|e backdr|
|000049a0| 6f 70 20 61 6e 64 20 74 | 72 61 6e 73 70 61 72 65 |op and t|ranspare|
|000049b0| 6e 63 79 20 63 61 6e 20 | 62 65 20 64 6f 6e 65 20 |ncy can |be done |
|000049c0| 66 72 6f 6d 20 74 68 65 | 20 70 72 6f 70 65 72 74 |from the| propert|
|000049d0| 69 65 73 20 77 69 6e 64 | 6f 77 8f 01 27 20 6e 6f |ies wind|ow..' no|
|000049e0| 74 65 3a 20 72 65 6d 65 | 6d 62 65 72 20 74 6f 20 |te: reme|mber to |
|000049f0| 73 65 74 20 74 68 65 20 | 74 72 61 6e 73 70 61 72 |set the |transpar|
|00004a00| 65 6e 63 79 20 6f 66 20 | 74 68 65 20 70 69 63 74 |ency of |the pict|
|00004a10| 75 72 65 20 69 66 20 69 | 74 27 73 20 6e 6f 74 20 |ure if i|t's not |
|00004a20| 72 65 63 74 61 6e 67 75 | 6c 61 72 0f 70 20 3d 20 |rectangu|lar.p = |
|00004a30| 6d 65 2e 62 61 63 6b 44 | 72 6f 70 10 69 66 20 70 |me.backD|rop.if p|
|00004a40| 20 3c 3e 20 4e 49 4c 20 | 74 68 65 6e 91 01 27 20 | <> NIL |then..' |
|00004a50| 69 66 20 74 68 65 20 62 | 75 74 74 6f 6e 73 20 62 |if the b|uttons b|
|00004a60| 61 63 6b 64 72 6f 70 20 | 70 72 6f 70 65 72 74 79 |ackdrop |property|
|00004a70| 20 77 61 73 20 73 65 74 | 20 74 6f 20 61 20 70 69 | was set| to a pi|
|00004a80| 63 74 75 72 65 2c 20 64 | 69 73 70 6c 61 79 20 69 |cture, d|isplay i|
|00004a90| 74 20 69 6e 20 74 68 65 | 20 63 65 6e 74 65 72 83 |t in the| center.|
|00004aa0| 01 67 2e 64 72 61 77 50 | 69 63 74 75 72 65 20 70 |.g.drawP|icture p|
|00004ab0| 2c 20 28 67 2e 77 69 64 | 74 68 20 2d 20 70 2e 77 |, (g.wid|th - p.w|
|00004ac0| 69 64 74 68 29 20 2f 20 | 32 2c 20 28 67 2e 68 65 |idth) / |2, (g.he|
|00004ad0| 69 67 68 74 20 2d 20 70 | 2e 68 65 69 67 68 74 29 |ight - p|.height)|
|00004ae0| 20 2f 20 32 06 65 6e 64 | 20 69 66 00 07 45 6e 64 | / 2.end| if..End|
|00004af0| 20 53 75 62 06 69 6e 73 | 69 64 65 1a 78 20 61 73 | Sub.ins|ide.x as|
|00004b00| 20 69 6e 74 65 67 65 72 | 2c 20 79 20 61 73 20 69 | integer|, y as i|
|00004b10| 6e 74 65 67 65 72 07 62 | 6f 6f 6c 65 61 6e 01 04 |nteger.b|oolean..|
|00004b20| 1d 04 1d 06 36 46 75 6e | 63 74 69 6f 6e 20 69 6e |....6Fun|ction in|
|00004b30| 73 69 64 65 28 78 20 61 | 73 20 69 6e 74 65 67 65 |side(x a|s intege|
|00004b40| 72 2c 20 79 20 61 73 20 | 69 6e 74 65 67 65 72 29 |r, y as |integer)|
|00004b50| 20 41 73 20 62 6f 6f 6c | 65 61 6e 00 81 01 72 65 | As bool|ean...re|
|00004b60| 74 75 72 6e 20 28 78 20 | 3e 20 30 29 20 61 6e 64 |turn (x |> 0) and|
|00004b70| 20 28 78 20 3c 20 6d 65 | 2e 77 69 64 74 68 29 20 | (x < me|.width) |
|00004b80| 61 6e 64 20 28 79 20 3e | 20 30 29 20 61 6e 64 20 |and (y >| 0) and |
|00004b90| 28 79 20 3c 20 6d 65 2e | 68 65 69 67 68 74 29 96 |(y < me.|height).|
|00004ba0| 01 27 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |.' this |function|
|00004bb0| 20 72 65 74 75 72 6e 73 | 20 74 72 75 65 20 69 66 | returns| true if|
|00004bc0| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 70 | the spe|cified p|
|00004bd0| 6f 69 6e 74 20 69 73 20 | 77 69 74 68 69 6e 20 74 |oint is |within t|
|00004be0| 68 65 20 62 6f 75 6e 64 | 73 20 6f 66 20 74 68 65 |he bound|s of the|
|00004bf0| 20 62 75 74 74 6f 6e 1e | 27 20 75 73 65 64 20 62 | button.|' used b|
|00004c00| 79 20 74 68 65 20 6d 6f | 75 73 65 44 72 61 67 20 |y the mo|useDrag |
|00004c10| 65 76 65 6e 74 20 0c 45 | 6e 64 20 46 75 6e 63 74 |event .E|nd Funct|
|00004c20| 69 6f 6e 03 07 4d 6f 75 | 73 65 75 70 1a 58 20 61 |ion..Mou|seup.X a|
|00004c30| 73 20 69 6e 74 65 67 65 | 72 2c 20 59 20 61 73 20 |s intege|r, Y as |
|00004c40| 69 6e 74 65 67 65 72 00 | 09 6d 6f 75 73 65 44 6f |integer.|.mouseDo|
|00004c50| 77 6e 1a 58 20 61 73 20 | 69 6e 74 65 67 65 72 2c |wn.X as |integer,|
|00004c60| 20 59 20 61 73 20 69 6e | 74 65 67 65 72 07 42 6f | Y as in|teger.Bo|
|00004c70| 6f 6c 65 61 6e 04 4f 70 | 65 6e 00 00 08 09 4d 6f |olean.Op|en....Mo|
|00004c80| 75 73 65 44 72 61 67 09 | 28 09 28 19 29 53 75 62 |useDrag.|(.(.)Sub|
|00004c90| 20 4d 6f 75 73 65 44 72 | 61 67 28 58 20 41 73 20 | MouseDr|ag(X As |
|00004ca0| 49 6e 74 65 67 65 72 2c | 20 59 20 41 73 20 49 6e |Integer,| Y As In|
|00004cb0| 74 65 67 65 72 29 00 13 | 69 66 20 69 6e 73 69 64 |teger)..|if insid|
|00004cc0| 65 28 78 2c 79 29 20 74 | 68 65 6e 21 27 20 69 66 |e(x,y) t|hen!' if|
|00004cd0| 20 74 68 65 20 6d 6f 75 | 73 65 20 69 73 20 6f 76 | the mou|se is ov|
|00004ce0| 65 72 20 74 68 65 20 62 | 75 74 74 6f 6e 27 27 20 |er the b|utton'' |
|00004cf0| 73 65 74 20 74 68 65 20 | 63 6f 6c 6f 72 73 20 66 |set the |colors f|
|00004d00| 6f 72 20 61 20 27 70 72 | 65 73 73 65 64 27 20 62 |or a 'pr|essed' b|
|00004d10| 75 74 74 6f 6e 0b 73 65 | 74 43 6f 6c 6f 72 73 20 |utton.se|tColors |
|00004d20| 31 00 2f 27 20 64 72 61 | 77 20 74 68 65 20 62 75 |1./' dra|w the bu|
|00004d30| 74 74 6f 6e 20 6f 6e 6c | 79 20 69 66 20 69 74 27 |tton onl|y if it'|
|00004d40| 73 20 73 74 61 74 65 20 | 28 75 70 2f 64 6f 77 6e |s state |(up/down|
|00004d50| 29 20 2e 27 20 68 61 73 | 20 63 68 61 6e 67 65 64 |) .' has| changed|
|00004d60| 20 73 69 6e 63 65 20 74 | 68 65 20 6c 61 73 74 20 | since t|he last |
|00004d70| 74 69 6d 65 20 69 74 20 | 77 61 73 20 64 72 61 77 |time it |was draw|
|00004d80| 6e 3d 27 20 61 73 20 69 | 6e 64 69 63 61 74 65 64 |n=' as i|ndicated|
|00004d90| 20 62 79 20 74 68 65 20 | 64 72 61 77 53 74 61 74 | by the |drawStat|
|00004da0| 65 20 70 72 6f 70 65 72 | 74 79 2c 20 74 6f 20 70 |e proper|ty, to p|
|00004db0| 72 65 76 65 6e 74 20 66 | 6c 69 63 6b 65 72 2e 15 |revent f|licker..|
|00004dc0| 69 66 20 6e 6f 74 20 64 | 72 61 77 53 74 61 74 65 |if not d|rawState|
|00004dd0| 20 74 68 65 6e 16 64 72 | 61 77 42 75 74 74 6f 6e | then.dr|awButton|
|00004de0| 20 6d 65 2e 67 72 61 70 | 68 69 63 73 10 64 72 61 | me.grap|hics.dra|
|00004df0| 77 53 74 61 74 65 20 3d | 20 74 72 75 65 06 65 6e |wState =| true.en|
|00004e00| 64 20 69 66 04 65 6c 73 | 65 25 27 20 69 66 20 74 |d if.els|e%' if t|
|00004e10| 68 65 20 6d 6f 75 73 65 | 20 69 73 20 6e 6f 74 20 |he mouse| is not |
|00004e20| 6f 76 65 72 20 74 68 65 | 20 62 75 74 74 6f 6e 26 |over the| button&|
|00004e30| 27 20 73 65 74 20 74 68 | 65 20 63 6f 6c 6f 72 73 |' set th|e colors|
|00004e40| 20 66 6f 72 20 61 20 27 | 6e 6f 72 6d 61 6c 27 20 | for a '|normal' |
|00004e50| 62 75 74 74 6f 6e 0b 73 | 65 74 43 6f 6c 6f 72 73 |button.s|etColors|
|00004e60| 20 30 11 69 66 20 64 72 | 61 77 53 74 61 74 65 20 | 0.if dr|awState |
|00004e70| 74 68 65 6e 16 64 72 61 | 77 42 75 74 74 6f 6e 20 |then.dra|wButton |
|00004e80| 6d 65 2e 67 72 61 70 68 | 69 63 73 11 64 72 61 77 |me.graph|ics.draw|
|00004e90| 53 74 61 74 65 20 3d 20 | 66 61 6c 73 65 06 65 6e |State = |false.en|
|00004ea0| 64 20 69 66 06 65 6e 64 | 20 69 66 00 07 45 6e 64 |d if.end| if..End|
|00004eb0| 20 53 75 62 09 4d 6f 75 | 73 65 4d 6f 76 65 01 00 | Sub.Mou|seMove..|
|00004ec0| 01 00 03 29 53 75 62 20 | 4d 6f 75 73 65 4d 6f 76 |...)Sub |MouseMov|
|00004ed0| 65 28 58 20 41 73 20 49 | 6e 74 65 67 65 72 2c 20 |e(X As I|nteger, |
|00004ee0| 59 20 41 73 20 49 6e 74 | 65 67 65 72 29 00 07 45 |Y As Int|eger)..E|
|00004ef0| 6e 64 20 53 75 62 0a 4d | 6f 75 73 65 45 6e 74 65 |nd Sub.M|ouseEnte|
|00004f00| 72 01 00 01 00 03 10 53 | 75 62 20 4d 6f 75 73 65 |r......S|ub Mouse|
|00004f10| 45 6e 74 65 72 28 29 00 | 07 45 6e 64 20 53 75 62 |Enter().|.End Sub|
|00004f20| 09 4d 6f 75 73 65 45 78 | 69 74 01 00 01 00 03 0f |.MouseEx|it......|
|00004f30| 53 75 62 20 4d 6f 75 73 | 65 45 78 69 74 28 29 00 |Sub Mous|eExit().|
|00004f40| 07 45 6e 64 20 53 75 62 | 07 4d 6f 75 73 65 55 70 |.End Sub|.MouseUp|
|00004f50| 02 31 02 31 0f 27 53 75 | 62 20 4d 6f 75 73 65 55 |.1.1.'Su|b MouseU|
|00004f60| 70 28 58 20 41 73 20 49 | 6e 74 65 67 65 72 2c 20 |p(X As I|nteger, |
|00004f70| 59 20 41 73 20 49 6e 74 | 65 67 65 72 29 00 81 01 |Y As Int|eger)...|
|00004f80| 27 20 69 66 20 74 68 65 | 20 6d 6f 75 73 65 55 70 |' if the| mouseUp|
|00004f90| 20 66 6c 61 67 20 77 61 | 73 20 73 65 74 20 28 69 | flag wa|s set (i|
|00004fa0| 6e 20 74 68 65 20 69 6e | 73 74 61 6e 63 65 27 73 |n the in|stance's|
|00004fb0| 20 6d 6f 75 73 65 44 6f | 77 6e 20 65 76 65 6e 74 | mouseDo|wn event|
|00004fc0| 29 22 27 20 61 6e 64 20 | 74 68 65 20 6d 6f 75 73 |)"' and |the mous|
|00004fd0| 65 20 69 73 20 6f 76 65 | 72 20 74 68 65 20 62 75 |e is ove|r the bu|
|00004fe0| 74 74 6f 6e 36 27 20 70 | 61 73 73 20 6f 6e 20 61 |tton6' p|ass on a|
|00004ff0| 20 6d 6f 75 73 65 55 70 | 20 65 76 65 6e 74 20 74 | mouseUp| event t|
|00005000| 6f 20 74 68 65 20 69 6e | 73 74 61 6e 63 65 20 6f |o the in|stance o|
|00005010| 66 20 74 68 65 20 63 6c | 61 73 73 23 69 66 20 6d |f the cl|ass#if m|
|00005020| 6f 75 73 65 55 70 46 6c | 61 67 20 61 6e 64 20 69 |ouseUpFl|ag and i|
|00005030| 6e 73 69 64 65 28 58 2c | 59 29 20 74 68 65 6e 0b |nside(X,|Y) then.|
|00005040| 4d 6f 75 73 65 55 70 20 | 58 2c 59 13 6d 6f 75 73 |MouseUp |X,Y.mous|
|00005050| 65 55 70 46 6c 61 67 20 | 3d 20 66 61 6c 73 65 06 |eUpFlag |= false.|
|00005060| 65 6e 64 20 69 66 00 32 | 27 20 73 65 74 20 62 65 |end if.2|' set be|
|00005070| 76 65 6c 20 63 6f 6c 6f | 72 73 20 66 6f 72 20 61 |vel colo|rs for a|
|00005080| 20 6e 6f 72 6d 61 6c 20 | 62 75 74 74 6f 6e 20 61 | normal |button a|
|00005090| 6e 64 20 64 72 61 77 20 | 69 74 0b 73 65 74 63 6f |nd draw |it.setco|
|000050a0| 6c 6f 72 73 20 30 16 64 | 72 61 77 42 75 74 74 6f |lors 0.d|rawButto|
|000050b0| 6e 20 6d 65 2e 67 72 61 | 70 68 69 63 73 00 07 45 |n me.gra|phics..E|
|000050c0| 6e 64 20 53 75 62 09 4d | 6f 75 73 65 44 6f 77 6e |nd Sub.M|ouseDown|
|000050d0| 08 10 08 10 0f 39 46 75 | 6e 63 74 69 6f 6e 20 4d |.....9Fu|nction M|
|000050e0| 6f 75 73 65 44 6f 77 6e | 28 58 20 41 73 20 49 6e |ouseDown|(X As In|
|000050f0| 74 65 67 65 72 2c 20 59 | 20 41 73 20 49 6e 74 65 |teger, Y| As Inte|
|00005100| 67 65 72 29 20 41 73 20 | 42 6f 6f 6c 65 61 6e 00 |ger) As |Boolean.|
|00005110| 30 27 20 73 65 74 20 74 | 68 65 20 6d 6f 75 73 65 |0' set t|he mouse|
|00005120| 55 70 46 6c 61 67 2c 20 | 61 20 76 61 72 20 74 6f |UpFlag, |a var to|
|00005130| 20 69 6e 64 69 63 61 74 | 65 20 77 68 65 74 68 65 | indicat|e whethe|
|00005140| 72 2f 27 20 74 68 65 20 | 6d 6f 75 73 65 55 70 20 |r/' the |mouseUp |
|00005150| 61 6e 64 20 6d 6f 75 73 | 65 44 72 61 67 20 65 76 |and mous|eDrag ev|
|00005160| 65 6e 74 73 20 73 68 6f | 75 6c 64 20 6f 63 63 75 |ents sho|uld occu|
|00005170| 72 2d 27 20 74 68 69 73 | 20 77 69 6c 6c 20 62 65 |r-' this| will be|
|00005180| 20 74 72 75 65 20 69 66 | 20 74 68 65 20 6d 6f 75 | true if| the mou|
|00005190| 73 65 44 6f 77 6e 20 68 | 61 6e 64 6c 65 72 20 2b |seDown h|andler +|
|000051a0| 27 20 69 6e 20 74 68 65 | 20 69 6e 73 74 61 6e 63 |' in the| instanc|
|000051b0| 65 20 6f 66 20 74 68 65 | 20 63 6c 61 73 73 20 72 |e of the| class r|
|000051c0| 65 74 75 72 6e 73 20 74 | 72 75 65 1c 6d 6f 75 73 |eturns t|rue.mous|
|000051d0| 65 55 70 46 6c 61 67 20 | 3d 20 4d 6f 75 73 65 44 |eUpFlag |= MouseD|
|000051e0| 6f 77 6e 28 58 2c 59 29 | 00 2a 27 20 73 65 74 20 |own(X,Y)|.*' set |
|000051f0| 74 68 65 20 62 65 76 65 | 6c 20 63 6f 6c 6f 72 73 |the beve|l colors|
|00005200| 20 66 6f 72 20 61 20 27 | 64 6f 77 6e 27 20 62 75 | for a '|down' bu|
|00005210| 74 74 6f 6e 15 27 20 61 | 6e 64 20 64 72 61 77 20 |tton.' a|nd draw |
|00005220| 74 68 65 20 62 75 74 74 | 6f 6e 0b 73 65 74 63 6f |the butt|on.setco|
|00005230| 6c 6f 72 73 20 31 16 64 | 72 61 77 42 75 74 74 6f |lors 1.d|rawButto|
|00005240| 6e 20 6d 65 2e 67 72 61 | 70 68 69 63 73 0b 72 65 |n me.gra|phics.re|
|00005250| 74 75 72 6e 20 74 72 75 | 65 00 0c 45 6e 64 20 46 |turn tru|e..End F|
|00005260| 75 6e 63 74 69 6f 6e 04 | 4f 70 65 6e 04 2e 04 2e |unction.|Open....|
|00005270| 08 0a 53 75 62 20 4f 70 | 65 6e 28 29 00 27 27 20 |..Sub Op|en().'' |
|00005280| 69 6e 69 74 69 61 6c 69 | 73 65 20 63 6f 6c 6f 72 |initiali|se color|
|00005290| 73 20 66 6f 72 20 61 20 | 6e 6f 72 6d 61 6c 20 62 |s for a |normal b|
|000052a0| 75 74 74 6f 6e 0b 73 65 | 74 43 6f 6c 6f 72 73 20 |utton.se|tColors |
|000052b0| 30 2e 27 20 70 61 73 73 | 20 6f 6e 20 74 68 65 20 |0.' pass| on the |
|000052c0| 6f 70 65 6e 20 65 76 65 | 6e 74 20 74 6f 20 74 68 |open eve|nt to th|
|000052d0| 65 20 63 6c 61 73 73 20 | 69 6e 73 74 61 6e 63 65 |e class |instance|
|000052e0| 04 4f 70 65 6e 00 07 45 | 6e 64 20 53 75 62 05 50 |.Open..E|nd Sub.P|
|000052f0| 61 69 6e 74 03 00 03 00 | 05 18 53 75 62 20 50 61 |aint....|..Sub Pa|
|00005300| 69 6e 74 28 67 20 41 73 | 20 47 72 61 70 68 69 63 |int(g As| Graphic|
|00005310| 73 29 00 0c 64 72 61 77 | 42 75 74 74 6f 6e 20 67 |s)..draw|Button g|
|00005320| 00 07 45 6e 64 20 53 75 | 62 00 00 00 0d 41 07 50 |..End Su|b....A.P|
|00005330| 69 63 74 75 72 65 06 7a | 6f 6f 6d 49 6e 02 0d 0a |icture.z|oomIn...|
|00005340| 01 9e 07 00 00 00 00 01 | de 00 02 00 00 08 50 65 |........|......Pe|
|00005350| 70 65 44 69 73 6b 00 00 | 00 00 00 00 00 00 00 00 |peDisk..|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 b1 52 a4 15 42 44 00 |........|..R..BD.|
|00005370| 00 00 00 21 7d 0b 7a 6f | 6f 6d 49 6e 2e 50 49 43 |...!}.zo|omIn.PIC|
|00005380| 54 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |T.......|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 36 | fc b1 63 02 98 50 49 43 |.......6|..c..PIC|
|000053c0| 54 42 41 42 4c 00 01 00 | 01 00 00 00 15 00 00 00 |TBABL...|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 08 70 69 63 |........|.....pic|
|000053e0| 74 56 69 65 77 00 01 00 | 10 00 00 21 7d 00 00 1d |tView...|...!}...|
|000053f0| 4e 00 00 1d 4d 00 00 1c | f9 00 02 00 41 50 65 70 |N...M...|....APep|
|00005400| 65 44 69 73 6b 3a 50 8e | 70 8e 20 44 6f 63 75 3a |eDisk:P.|p. Docu:|
|00005410| 64 6f 63 75 6d 65 6e 74 | 65 6e 3a 20 44 6f 63 75 |document|en: Docu|
|00005420| 6d 65 6e 74 65 6e 20 50 | 42 3a 70 69 63 74 56 69 |menten P|B:pictVi|
|00005430| 65 77 3a 7a 6f 6f 6d 49 | 6e 2e 50 49 43 54 00 00 |ew:zoomI|n.PICT..|
|00005440| 09 00 a8 00 a8 61 66 70 | 6d 00 00 00 00 00 03 00 |.....afp|m.......|
|00005450| 18 00 39 00 59 00 75 00 | 95 00 9e 01 2a 00 00 00 |..9.Y.u.|....*...|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 08 50 8e 70 |........|.....P.p|
|00005480| 8e 20 53 61 79 00 00 00 | 00 00 00 00 00 00 00 00 |. Say...|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 08 50 65 70 |........|.....Pep|
|000054a0| 65 44 69 73 6b 00 00 00 | 00 00 00 00 00 00 00 00 |eDisk...|........|
|000054b0| 00 00 00 00 00 00 00 00 | 0b 4d 61 72 6b 20 48 61 |........|.Mark Ha|
|000054c0| 67 65 72 73 00 00 00 00 | 00 00 00 00 00 00 00 00 |gers....|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 07 00 2e 09 |........|........|
|000054f0| 50 8e 70 8e 20 44 6f 63 | 75 00 00 06 0c 00 07 0c |P.p. Doc|u.......|
|00005500| 21 04 01 21 08 09 21 04 | 01 00 00 ac 83 62 36 00 |!..!..!.|.....b6.|
|00005510| 00 21 7d 00 00 36 fc ff | ff ff ff 00 01 ff ff 00 |.!}..6..|........|
|00005520| 00 0e 41 07 50 69 63 74 | 75 72 65 07 7a 6f 6f 6d |..A.Pict|ure.zoom|
|00005530| 4f 75 74 02 0a 07 01 9e | 07 00 00 00 00 01 de 00 |Out.....|........|
|00005540| 02 00 00 08 50 65 70 65 | 44 69 73 6b 00 00 00 00 |....Pepe|Disk....|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 b1 |........|........|
|00005560| 52 a4 15 42 44 00 00 00 | 00 21 7d 0c 7a 6f 6f 6d |R..BD...|.!}.zoom|
|00005570| 4f 75 74 2e 50 49 43 54 | 00 00 00 00 00 00 00 00 |Out.PICT|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 36 fd b1 |........|.....6..|
|000055b0| 63 02 e7 50 49 43 54 42 | 41 42 4c 00 01 00 01 00 |c..PICTB|ABL.....|
|000055c0| 00 00 15 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 08 70 69 63 74 56 | 69 65 77 00 01 00 10 00 |...pictV|iew.....|
|000055e0| 00 21 7d 00 00 1d 4e 00 | 00 1d 4d 00 00 1c f9 00 |.!}...N.|..M.....|
|000055f0| 02 00 42 50 65 70 65 44 | 69 73 6b 3a 50 8e 70 8e |..BPepeD|isk:P.p.|
|00005600| 20 44 6f 63 75 3a 64 6f | 63 75 6d 65 6e 74 65 6e | Docu:do|cumenten|
|00005610| 3a 20 44 6f 63 75 6d 65 | 6e 74 65 6e 20 50 42 3a |: Docume|nten PB:|
|00005620| 70 69 63 74 56 69 65 77 | 3a 7a 6f 6f 6d 4f 75 74 |pictView|:zoomOut|
|00005630| 2e 50 49 43 54 00 09 00 | a8 00 a8 61 66 70 6d 00 |.PICT...|...afpm.|
|00005640| 00 00 00 00 03 00 18 00 | 39 00 59 00 75 00 95 00 |........|9.Y.u...|
|00005650| 9e 01 2a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..*.....|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005670| 00 00 08 50 8e 70 8e 20 | 53 61 79 00 00 00 00 00 |...P.p. |Say.....|
|00005680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005690| 00 00 08 50 65 70 65 44 | 69 73 6b 00 00 00 00 00 |...PepeD|isk.....|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0b 4d |........|.......M|
|000056b0| 61 72 6b 20 48 61 67 65 | 72 73 00 00 00 00 00 00 |ark Hage|rs......|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 07 00 2e 09 50 8e | 70 8e 20 44 6f 63 75 00 |......P.|p. Docu.|
|000056f0| 00 06 0c 00 07 0c 21 04 | 01 21 08 09 21 04 01 00 |......!.|.!..!...|
|00005700| 00 ac 83 62 36 00 00 21 | 7d 00 00 36 fd ff ff ff |...b6..!|}..6....|
|00005710| ff 00 01 ff ff 00 00 | |....... | |
+--------+-------------------------+-------------------------+--------+--------+